When using an ESP8266 one can:
import ssd1306
And the library is found, when doing the same on an ESP32 it isn't and you have to manually copy it up first.
Is this how it's meant to be?
The SSD1306 library doesn't seem to ship in the ESP32 build
-
- Posts: 3
- Joined: Fri Mar 01, 2019 8:40 am
Re: The SSD1306 library doesn't seem to ship in the ESP32 build
Just to be on the safe side, what does answer? It gives you a list of the modules that are installed with the firmware.
Code: Select all
help('modules')
Re: The SSD1306 library doesn't seem to ship in the ESP32 build
You need to place the module into this folder during build time:
https://github.com/micropython/micropyt ... 32/modules
https://github.com/micropython/micropyt ... 32/modules
-
- Posts: 3
- Joined: Fri Mar 01, 2019 8:40 am
Re: The SSD1306 library doesn't seem to ship in the ESP32 build
Thanks but this is the build offered as a download, just noticed the ESP8266 build included it, the ESP32 does not.
Intention?
Intention?
Re: The SSD1306 library doesn't seem to ship in the ESP32 build
Yes, you are right. It is in the standard build for ESP8266, but not in the daily builds for the ESP8266, and not in the ESP32. If you want to use it there, just upload it to the ESP32. The driver is at: https://github.com/micropython/micropyt ... ssd1306.py
-
- Posts: 3
- Joined: Fri Mar 01, 2019 8:40 am
Re: The SSD1306 library doesn't seem to ship in the ESP32 build
Thanks for that and I do, might be worth a mention on the builds page as without knowing newcomers would think something is broken when following the documentation.
Re: The SSD1306 library doesn't seem to ship in the ESP32 build
Thanks for the question and for the answers. I just started using micropython. It's great and well documented. I never ran into any issue, except this one when I started using the daily build for the ESP2866.