mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-23 13:34:46 +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
|
// D16 - Battery voltage ADC input
|
||||||
31, // D16 P0.31 VBAT_ADC
|
31, // D16 P0.31 VBAT_ADC
|
||||||
// GROVE
|
// GROVE
|
||||||
0, // D17 P0.00 GROVESDA
|
43, // D17 P0.00 GROVESDA
|
||||||
1, // D18 P0.01 GROVESCL
|
44, // D18 P0.01 GROVESCL
|
||||||
|
|
||||||
// FLASH
|
// FLASH
|
||||||
21, // D19 P0.21 (QSPI_SCK)
|
21, // D19 P0.21 (QSPI_SCK)
|
||||||
|
@ -74,10 +74,12 @@
|
|||||||
// Communication Interfaces
|
// Communication Interfaces
|
||||||
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||||
// I2C Configuration
|
// I2C Configuration
|
||||||
#define HAS_WIRE 1
|
//#define HAS_WIRE 1
|
||||||
#define PIN_WIRE_SDA D14 // P0.09
|
#define PIN_WIRE_SDA D14 // P0.09
|
||||||
#define PIN_WIRE_SCL D15 // P0.10
|
#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
|
#define I2C_NO_RESCAN
|
||||||
|
|
||||||
static const uint8_t SDA = PIN_WIRE_SDA;
|
static const uint8_t SDA = PIN_WIRE_SDA;
|
||||||
|
Loading…
Reference in New Issue
Block a user