Files
led-driver/README.md
jimmy 43957adb28 Rename patterns module to presets
Rename the driver module and update imports so tests and main entry use the new presets naming, while moving Preset to its own file.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 11:40:04 +13:00

37 lines
875 B
Markdown

# 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
1. Install dependencies:
```bash
pipenv install
```
2. Deploy to device:
```bash
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
```