Move relay to GPIO5, harden relay script, add monitor_speed
This commit is contained in:
parent
126c6a93d8
commit
73dc2f188f
4 changed files with 53 additions and 5 deletions
|
|
@ -9,15 +9,18 @@ Sluit aan via USB en stuur commando's:
|
|||
```bash
|
||||
./relay 1 # relais aan
|
||||
./relay 0 # relais uit
|
||||
./relay 1 /dev/cu.usbserial-XXXX # poort opgeven als default afwijkt
|
||||
```
|
||||
|
||||
## Pinnen
|
||||
|
||||
| Component | GPIO |
|
||||
|-----------|------|
|
||||
| Relais | 0 |
|
||||
| Relais (shield IN) | 5 (D1) |
|
||||
| LED | LED_BUILTIN |
|
||||
|
||||
Relais-IN zit op D1 (GPIO5): GPIO0 is bewust vermeden (boot-strapping pin — laag houden kan het board in flash-modus laten booten bij reset).
|
||||
|
||||
## Build & Flash
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Reference in a new issue