dce2954114d7ceb3fe91a4b48f304fb7335a90ec
- Modified rainbow() to distribute colors along the physical length - Each LED gets a different hue based on its position - n1 parameter controls how many times the rainbow cycles (nodes) - Split rainbow tests into test/rainbow/ directory with 9 numbered test files - Each test runs forever until interrupted - Added main.py to run all tests in sequence repeatedly
led-bar
Install Pipenv
https://pipenv.pypa.io/en/latest/installation.html
Download dependencies
pipenv sync
Install Micropython
https://micropython.org/resources/firmware/ESP32_GENERIC_C3-20241129-v1.24.1.bin
pipenv run esptool.py --port PORTNAME erase_flash
pipenv run esptool.py --port PORTNAME --baud 460800 write_flash 0 ESP32_GENERIC_C3-20241129-v1.24.1.bin
Upload libraries and src
pipenv run ./dev.py PORTNAME lib src
Upload src, reset and follow
pipenv run ./dev.py PORTNAME src reset follow
Connect
Connect to wifi nextwork called led-xxxxxx...
Languages
Python
100%

