Skip to content

update board files for LoPy, LoPy4, T-Beam #2241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Dec 24, 2018
2 changes: 1 addition & 1 deletion variants/lopy/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#define LORA_MOSI 27 // GPIO27 - SX1276 MOSI
#define LORA_CS 17 // GPIO17 - SX1276 CS
#define LORA_RST 18 // GPIO18 - SX1276 RST
#define LORA_IO0 23 // GPIO23 - SX1276 IO0
#define LORA_IRQ 23 // GPIO23 - SX1276 IO0
#define LORA_IO1 23 // GPIO23 - SX1276 IO1 tied by diode to IO0
#define LORA_IO2 23 // GPIO23 - SX1276 IO2 tied by diode to IO0

Expand Down
4 changes: 3 additions & 1 deletion variants/lopy4/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
#define LORA_MISO 19 // GPIO19 - SX1276 MISO
#define LORA_MOSI 27 // GPIO27 - SX1276 MOSI
#define LORA_CS 18 // GPIO18 - SX1276 CS
#define LORA_IO0 23 // GPIO23 - SX1276 IO0
#define LORA_IRQ 23 // GPIO23 - SX1276 IO0
#define LORA_IO1 23 // GPIO23 - SX1276 IO1 tied by diode to IO0
#define LORA_IO2 23 // GPIO23 - SX1276 IO2 tied by diode to IO0
#define LORA_RST NOT_A_PIN

static const uint8_t LED_BUILTIN = 0; // ->2812 RGB !!!
#define BUILTIN_LED LED_BUILTIN // backward compatibility
Expand All @@ -31,6 +32,7 @@ static const uint8_t RX = 3;
static const uint8_t SDA = 12;
static const uint8_t SCL = 13;

static const uint8_t SS = 18;
static const uint8_t MOSI = 22;
static const uint8_t MISO = 37;
static const uint8_t SCK = 13;
Expand Down
2 changes: 1 addition & 1 deletion variants/t-beam/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#define LORA_MOSI 27 // GPIO27 - SX1276 MOSI
#define LORA_CS 18 // GPIO18 - SX1276 CS
#define LORA_RST 23 // GPIO23 - SX1276 RST
#define LORA_IO0 26 // GPIO26 - SX1276 IO0
#define LORA_IRQ 26 // GPIO26 - SX1276 IO0
#define LORA_IO1 33 // GPIO33 - SX1276 IO1
#define LORA_IO2 32 // GPIO32 - SX1276 IO2

Expand Down