Skip to content

Commit a22fe4a

Browse files
committed
Fix EnvieM7 internal i2c mux
1 parent f72d24e commit a22fe4a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

variants/ENVIE_M7/pins_arduino.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ static const uint8_t MISO = PIN_SPI_MISO;
5555
static const uint8_t SCK = PIN_SPI_SCK;
5656

5757
// Wire
58-
#define PIN_WIRE_SDA (18u)
59-
#define PIN_WIRE_SCL (19u)
58+
#define PIN_WIRE_SDA (11u)
59+
#define PIN_WIRE_SCL (12u)
6060

6161
#define SERIAL_HOWMANY 1
6262
#define SERIAL1_TX (digitalPinToPinName(PIN_SERIAL_TX))
@@ -79,6 +79,9 @@ void _ontouch1200bps_();
7979
#define I2C_SDA (digitalPinToPinName(PIN_WIRE_SDA))
8080
#define I2C_SCL (digitalPinToPinName(PIN_WIRE_SCL))
8181

82+
#define I2C_SDA_INTERNAL (PB_7)
83+
#define I2C_SCL_INTERNAL (PB_6)
84+
8285
#define SPI_HOWMANY 1
8386

8487
#define SPI_MISO (digitalPinToPinName(PIN_SPI_MISO))

0 commit comments

Comments
 (0)