mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-23 21:45:07 +00:00
fix IIC port
This commit is contained in:
parent
6374ffea35
commit
cbdd7eae70
@ -59,8 +59,8 @@ const uint32_t g_ADigitalPinMap[] = {
|
||||
// D16 - Battery voltage ADC input
|
||||
31, // D16 P0.31 VBAT_ADC
|
||||
// GROVE
|
||||
0, // D17 P0.00 GROVESDA
|
||||
1, // D18 P0.01 GROVESCL
|
||||
43, // D17 P0.00 GROVESDA
|
||||
44, // D18 P0.01 GROVESCL
|
||||
|
||||
// FLASH
|
||||
21, // D19 P0.21 (QSPI_SCK)
|
||||
|
@ -74,10 +74,12 @@
|
||||
// Communication Interfaces
|
||||
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
// I2C Configuration
|
||||
#define HAS_WIRE 1
|
||||
//#define HAS_WIRE 1
|
||||
#define PIN_WIRE_SDA D14 // P0.09
|
||||
#define PIN_WIRE_SCL D15 // P0.10
|
||||
#define WIRE_INTERFACES_COUNT 1
|
||||
#define WIRE_INTERFACES_COUNT 2
|
||||
#define PIN_WIRE1_SDA D18
|
||||
#define PIN_WIRE1_SCL D17
|
||||
#define I2C_NO_RESCAN
|
||||
|
||||
static const uint8_t SDA = PIN_WIRE_SDA;
|
||||
|
Loading…
Reference in New Issue
Block a user