Skip to content

MicroPython Code

Skickar edited this page Oct 2, 2021 · 3 revisions

To get started with MicroPython, load the MicroPython binary onto your Wi-Fi Nugget using esptool (see flashing instructions).

Install Mu Editor. Download and install the library for the SH1106 screen from here: https://github.com/robert-hh/SH1106

In Mu editor, move the sh1106.py file to the Wi-Fi Nugget.

Next, download the MicroOLEDPixelTest.py from https://github.com/skickar/WiFiNugget and rename it main.py. Next, save the file.

Now, transfer main.py to the Wi-Fi Nugget using Mu, and reboot. The test sketch should run!

Current MicroPython Code for the Wi-Fi Nugget:

Clone this wiki locally