Open nTrfAce opened 3 years ago
Add the ability to call OneWire with non-default I2C SCL and SDA pin numbers, which get passed to Wire.
Example for M5Stack M5StickC Plus with non-default I2C Pins:
OneWire oneWire(26, 25);
Example for M5Stack M5StickC Plus with non-default I2C Pins and non-zero I2C Address
OneWire oneWire(26, 25, 0b11);
Add the ability to call OneWire with non-default I2C SCL and SDA pin numbers, which get passed to Wire.
Example for M5Stack M5StickC Plus with non-default I2C Pins:
OneWire oneWire(26, 25);
Example for M5Stack M5StickC Plus with non-default I2C Pins and non-zero I2C Address
OneWire oneWire(26, 25, 0b11);