Demo: https://youtu.be/yMFoKLWl2BM.
sudo usermod -a -G dialout $USER
sudo reboot
From project root:
python3 -m venv venv
source venv/bin/activate
pip install -r ./requirements.txt
- Connect Wemos D1 mini board to PC using USB cable.
- Upload uPython firmware. See
./ext/uPython_start/readme.md
. - Edit
./src/config_example.py
and save it asconfig.py
. - Run
udevadm info --name /dev/ttyUSB*
to get serial port path. Verify it in the shebang of theupload-src.sh
script. - Run
upload-src.sh
to upload project code to MCU.