e516b49eb8805a6876fb5c8f06989123db8c645f
- Add n4 parameter support to main.py ESP NOW receiver - Implement segmented_movement pattern with configurable parameters: * n1: segment length (number of LEDs per segment) * n2: spacing between segments * n3: forward movement speed (positions per beat) * n4: backward movement speed (positions per beat) - Pattern alternates between forward and backward movement each beat - If only n3 or n4 is set, moves in that direction every beat - Draws repeating segments with spacing across entire LED strip - Add Pipfile script to run dev.py directly with arguments
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...
Description
Languages
Python
87%
JavaScript
6.9%
HTML
4.1%
CSS
2%