assigning SDA/SCL so it actually works 8| (#6065)

This commit is contained in:
porkcube 2025-02-16 07:39:48 -05:00 committed by GitHub
parent 27fea5fc07
commit 4407d9e040
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;