In the file "I2C.h" the name of the third parameter should be "scl", it is now: I2C(uint8_t address, uint8_t sda, uint8_t cls);
In the file "I2C.cpp" you pass those parameters to the ESP8266 Wire library as: Wire.begin(scl, sda);
but as far as I know, the ESP8266 Wire library also uses the order "sda, scl": esp8266 Wire.h
Hi, I noticed something.
In the file "I2C.h" the name of the third parameter should be "scl", it is now:
I2C(uint8_t address, uint8_t sda, uint8_t cls);
In the file "I2C.cpp" you pass those parameters to the ESP8266 Wire library as:
Wire.begin(scl, sda);
but as far as I know, the ESP8266 Wire library also uses the order "sda, scl": esp8266 Wire.h