Pin D1 war defekt, daher haben wir dauf D4 geändert. Dieser ist geleichzeitig die 2. Status LED auf dem Lua Bord und zeigt den Status geschlossen an.
This commit is contained in:
parent
154e551e52
commit
ab0f3e8c6b
3 changed files with 10 additions and 13 deletions
|
@ -23,7 +23,9 @@ namespace cpp23 {
|
|||
// defining some constants
|
||||
enum : uint8_t {
|
||||
LED_PIN = 16, // D0
|
||||
REED_PIN = 5 // D1
|
||||
//REED_PIN = 5 // D1
|
||||
REED_PIN = 2 // D4
|
||||
|
||||
};
|
||||
|
||||
enum class door_state {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue