Skip to content

Commit

Permalink
I2C pin assignment fix (#7416)
Browse files Browse the repository at this point in the history
There was a typo in I2C pin assignment, SCL was set to GPIO #4 instead of GPIO #14, The schematic can be seen here: https://github.com/OLIMEX/ESP8266/blob/master/HARDWARE/MOD-WIFI-ESP8266-DEV/MOD-WiFi-ESP8266-DEV%20revision%20B1/MOD-WiFi-ESP8266-DEV_Rev_B1.pdf
  • Loading branch information
DanKoloff committed Jun 30, 2020
1 parent d85ff6e commit b706fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion variants/modwifi/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#define Pins_Arduino_h

#define PIN_WIRE_SDA (2)
#define PIN_WIRE_SCL (4)
#define PIN_WIRE_SCL (14)

static const uint8_t SDA = PIN_WIRE_SDA;
static const uint8_t SCL = PIN_WIRE_SCL;
Expand Down

0 comments on commit b706fd4

Please sign in to comment.