Skip to content

Commit

Permalink
Add I2C bus to Heltec T114 header pins
Browse files Browse the repository at this point in the history
SDA: P0.13
SCL: P0.16

Uses bus 1, leaving bus 0 routed to the unpopulated footprint for the RTC (general future-proofing)
  • Loading branch information
todd-herbert committed Sep 17, 2024
1 parent a759c1f commit b6adeae
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions variants/heltec_mesh_node_t114/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 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

#define PIN_WIRE_SDA (26)
#define PIN_WIRE_SCL (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)
Expand Down

0 comments on commit b6adeae

Please sign in to comment.