Dependancies
Buy the components
The default RGB LED on-board which is GPIO8
does on work. So, wire up a simple LED to GPIO3
with a 1k
resistor to the ground.
USB
port to know the port number
$ ls /dev/cu.*
/dev/cu.SLAB_USBtoUART /dev/cu.usbserial-1410
*.bin
file for the board esp32c3-*.bin
esptool.py --chip esp32c3 --port /dev/cu.SLAB_USBtoUART erase_flash
esptool.py --chip esp32c3 --port /dev/cu.SLAB_USBtoUART write_flash -z 0 _tutorials/code/blinky-micropython-esp32c3/esp32c3-*.bin
pip install rshell
ls /dev/cu.*
/dev/cu.usbserial-1410
rshell -p /dev/cu.usbserial-1410
blink.py
in rshell
cp blinky.py /pyboard
repl
import blinky
or whatever the filename is