- Follow this guide to install MicroPython on Badgy Getting started with MicroPython on the ESP8266
- Download the CP210x drivers.
- Download MicroPython 1.11 firmware
- Install esptool.
pipenv shell pip install esptool
- Erase existing firmware. (Change port as needed.)
esptool.py --port /dev/tty.SLAB_USBtoUART erase_flash
- Flash new firmware. (Reduce baud rate if needed.)
esptool.py --port /dev/tty.SLAB_USBtoUART --baud 460800 write_flash --flash_size=detect 0 esp8266-20190529-v1.11.bin
- Connect to REPL via serial port.
picocom /dev/tty.SLAB_USBtoUART -b115200
- Enable WebREPL.
import webrepl_setup
- Install ampy or use the WebREPL for uploading files
- Upload main.py, image.py, and epaper2in9.py
- Reset Badgy and see the image!
forked from sqfmi/badgy-python
- Notifications
You must be signed in to change notification settings - Fork 1
MicroPython examples for Badgy
License
3ch01c/badgy-python
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
MicroPython examples for Badgy
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%