Add I2C bus to Heltec T114 header pins

SDA: P0.13
SCL: P0.16

Uses bus 1, leaving bus 0 routed to the unpopulated footprint for the RTC (general future-proofing)
This commit is contained in:
Todd Herbert 2024-09-17 22:17:53 +12:00 committed by todd-herbert
parent 11598beb16
commit f960164c0e

View File

@ -92,13 +92,22 @@ No longer populated on PCB
#define PIN_SERIAL2_TX (0 + 10)
// #define PIN_SERIAL2_EN (0 + 17)
/**
Wire Interfaces
*/
#define WIRE_INTERFACES_COUNT 1
/*
* I2C
*/
#define PIN_WIRE_SDA (26)
#define PIN_WIRE_SCL (27)
#define WIRE_INTERFACES_COUNT 2
// I2C bus 0
// Routed to footprint for PCF8563TS RTC
// Not populated on T114 V1, maybe in future?
#define PIN_WIRE_SDA (0 + 26) // P0.26
#define PIN_WIRE_SCL (0 + 27) // P0.27
// I2C bus 1
// Available on header pins, for general use
#define PIN_WIRE1_SDA (0 + 13) // P0.13
#define PIN_WIRE1_SCL (0 + 16) // P0.16
// QSPI Pins
#define PIN_QSPI_SCK (32 + 14)