Skip to content

Commit 8bcfa31

Browse files
authored
Update pins_arduino.h
1 parent 857c3e1 commit 8bcfa31

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

variants/lopy/pins_arduino.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
#define LORA_IO1 23 // GPIO23 - SX1276 IO1 tied by diode to IO0
2222
#define LORA_IO2 23 // GPIO23 - SX1276 IO2 tied by diode to IO0
2323

24-
// Antenna select
24+
static const uint8_t LED_BUILTIN = 0; // ->2812 RGB !!!
25+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
26+
2527
#define ANT_SELECT 16 // GPIO16 - External Antenna Switch
2628

2729
static const uint8_t TX = 1;
@@ -33,7 +35,7 @@ static const uint8_t SCL = 13;
3335
static const uint8_t SS = 17;
3436
static const uint8_t MOSI = 22;
3537
static const uint8_t MISO = 37;
36-
static const uint8_t SCK = 5;
38+
static const uint8_t SCK = 13;
3739

3840
static const uint8_t A0 = 36;
3941
static const uint8_t A1 = 37;

0 commit comments

Comments
 (0)