Skip to content

01‐Library Installation

Teeraphat Kullanankanjana edited this page Oct 28, 2023 · 1 revision

Installation

Before you use this library, you need to install it on your ESP32 board.

Prerequisite

  1. ESP32.

This document is only tested on the ESP32 Devkit board; the other version or other board is not guaranteed.

  1. MicroPython Firmware

This document is only tested on the MicroPython firmware version 1.20 or newer; the older or other firmware might not work.

Installation with Thonny IDE

  1. Open the Thonny IDE.
  2. Go to Tools > Manage Packages.
  3. At the search bar, enter MicroPython-GoogleSheet.
  4. Select the highlighted one and click install.
  5. Wait until the installation is completed.

Manual Installation

  1. Download ggsheet.py to your computer.
  2. Upload the ggsheet.py to your ESP32 board by clicking upload or using flashing tools, e.g., esptool.

Verify and Test

Try to import the library; if it does not show "Import Error," that means the installation is successful.

from ggsheet import MicroGoogleSheet 

You can proceed to the next step.