Change I2C pins
Posted: Fri Dec 14, 2018 3:54 pm
I've got this board and an I2C breakout board for a BME280 sensor. Unfortunately my board uses pin D2/GPIO4 (which is a standard Arduino pin for I2C) for the included OLED. So I want to move the I2C bus to different pins. I heard that the ESP8266 supports I2C on any pins.
Unfortunately I can't find out how to do that in Arduino. According to the Arduino documentation for the wire library, there is now method to set the pins.
Any hints?
Unfortunately I can't find out how to do that in Arduino. According to the Arduino documentation for the wire library, there is now method to set the pins.
Any hints?