Initial commit

This commit is contained in:
Eddy de Vink 2026-07-11 00:31:05 +02:00
commit 126c6a93d8
8 changed files with 166 additions and 0 deletions

25
README.md Normal file
View file

@ -0,0 +1,25 @@
# USB Toggle
ESP8266 (Wemos D1 Mini) firmware om een relais te schakelen via seriële USB.
## Gebruik
Sluit aan via USB en stuur commando's:
```bash
./relay 1 # relais aan
./relay 0 # relais uit
```
## Pinnen
| Component | GPIO |
|-----------|------|
| Relais | 0 |
| LED | LED_BUILTIN |
## Build & Flash
```bash
pio run --target upload --upload-port /dev/cu.usbserial-2110
```