mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-26 22:33:24 +00:00
assigning SDA/SCL so it actually works 8| (#6065)
This commit is contained in:
parent
27fea5fc07
commit
4407d9e040
@ -84,17 +84,15 @@ static const uint8_t A5 = PIN_A5;
|
|||||||
#define PIN_NFC2 (31)
|
#define PIN_NFC2 (31)
|
||||||
|
|
||||||
// RX and TX pins
|
// RX and TX pins
|
||||||
#define PIN_SERIAL1_RX (6)
|
#define PIN_SERIAL1_RX (-1)
|
||||||
#define PIN_SERIAL1_TX (7)
|
#define PIN_SERIAL1_TX (-1)
|
||||||
// complains if not defined
|
// complains if not defined
|
||||||
#define PIN_SERIAL2_RX (-1)
|
#define PIN_SERIAL2_RX (-1)
|
||||||
#define PIN_SERIAL2_TX (-1)
|
#define PIN_SERIAL2_TX (-1)
|
||||||
|
|
||||||
// 4 is used as RF_SW and 5 for USR button so...
|
// 4 is used as RF_SW and 5 for USR button so...
|
||||||
#define PIN_WIRE_SDA (-1)
|
#define PIN_WIRE_SDA (6)
|
||||||
#define PIN_WIRE_SCL (-1)
|
#define PIN_WIRE_SCL (7)
|
||||||
// #define PIN_WIRE_SDA (6)
|
|
||||||
// #define PIN_WIRE_SCL (7)
|
|
||||||
|
|
||||||
static const uint8_t SDA = PIN_WIRE_SDA;
|
static const uint8_t SDA = PIN_WIRE_SDA;
|
||||||
static const uint8_t SCL = PIN_WIRE_SCL;
|
static const uint8_t SCL = PIN_WIRE_SCL;
|
||||||
|
Loading…
Reference in New Issue
Block a user