Correct pins for actual hardware (#1768)
The original pins_arduino.h did not correspond to the actual hardware.
This commit is contained in:
parent
9db207afbe
commit
14d6f6e7e6
@ -19,8 +19,8 @@ static const uint8_t KEY_BUILTIN = 0;
|
|||||||
static const uint8_t TX = 1;
|
static const uint8_t TX = 1;
|
||||||
static const uint8_t RX = 3;
|
static const uint8_t RX = 3;
|
||||||
|
|
||||||
static const uint8_t SDA = 21;
|
static const uint8_t SDA = 4;
|
||||||
static const uint8_t SCL = 22;
|
static const uint8_t SCL = 15;
|
||||||
|
|
||||||
static const uint8_t SS = 18;
|
static const uint8_t SS = 18;
|
||||||
static const uint8_t MOSI = 27;
|
static const uint8_t MOSI = 27;
|
||||||
@ -61,4 +61,17 @@ static const uint8_t T9 = 33;
|
|||||||
static const uint8_t DAC1 = 26;
|
static const uint8_t DAC1 = 26;
|
||||||
static const uint8_t DAC2 = 25;
|
static const uint8_t DAC2 = 25;
|
||||||
|
|
||||||
|
// OLed
|
||||||
|
static const uint8_t OLED_SCL = 15;
|
||||||
|
static const uint8_t OLED_SDA = 4;
|
||||||
|
static const uint8_t OLED_RST = 16;
|
||||||
|
|
||||||
|
// LoRA
|
||||||
|
static const uint8_t LORA_SCK = 5;
|
||||||
|
static const uint8_t LORA_MOSI = 27;
|
||||||
|
static const uint8_t LORA_MISO = 19;
|
||||||
|
static const uint8_t LORA_CS = 18;
|
||||||
|
static const uint8_t LORA_RST = 14;
|
||||||
|
static const uint8_t LORA_IRQ = 26;
|
||||||
|
|
||||||
#endif /* Pins_Arduino_h */
|
#endif /* Pins_Arduino_h */
|
||||||
|
Loading…
Reference in New Issue
Block a user