Skip to content

Commit 857c3e1

Browse files
authored
Update pins_arduino.h
1 parent 53ebc8f commit 857c3e1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

variants/lopy4/pins_arduino.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020
#define LORA_IO1 23 // GPIO23 - SX1276 IO1 tied by diode to IO0
2121
#define LORA_IO2 23 // GPIO23 - SX1276 IO2 tied by diode to IO0
2222

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

2628
static const uint8_t TX = 1;
2729
static const uint8_t RX = 3;
@@ -31,7 +33,7 @@ static const uint8_t SCL = 13;
3133

3234
static const uint8_t MOSI = 22;
3335
static const uint8_t MISO = 37;
34-
static const uint8_t SCK = 5;
36+
static const uint8_t SCK = 13;
3537

3638
static const uint8_t A0 = 36;
3739
static const uint8_t A1 = 37;

0 commit comments

Comments
 (0)