Skip to content

Commit 3c09269

Browse files
committed
fix: pin mapping and refactor headers
1 parent 12aaf22 commit 3c09269

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/Lock/Lock_with_feedback/Lock_with_feedback.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
#if defined(ESP8266)
5353
#define LOCK_PIN D1 // PIN where the lock is connected to: HIGH = locked, LOW = unlocked
5454
#define LOCK_STATE_PIN D2 // PIN where the lock feedback is connected to (HIGH:locked, LOW:unlocked)
55-
#elif defined(ESP32) || defined(ARDUINO_ARCH_RP2040)
55+
#else
5656
#define LOCK_PIN 16 // PIN where the lock is connected to: HIGH = locked, LOW = unlocked
5757
#define LOCK_STATE_PIN 17 // PIN where the lock feedback is connected to (HIGH:locked, LOW:unlocked)
5858
#endif

0 commit comments

Comments
 (0)