7cc0a3b7d7c0904bc929df1f557939bdf1207c4d
Co-authored-by: Cursor <cursoragent@cursor.com>
LED Driver - MicroPython
MicroPython-based LED driver application for ESP32 microcontrollers.
Prerequisites
- MicroPython firmware installed on ESP32
- USB cable for programming
- Python 3 with pipenv
Setup
-
Install dependencies:
pipenv install -
Deploy to device:
pipenv run dev
Project Structure
led-driver/
├── src/
│ ├── main.py # Main application code
│ ├── presets.py # LED pattern implementations (includes Preset and Presets classes)
│ ├── settings.py # Settings management
│ └── p2p.py # Peer-to-peer communication
├── test/ # Pattern tests
├── web_app.py # Web interface
├── dev.py # Development tools
└── Pipfile # Python dependencies
Languages
Python
99.9%