Thank you for the library, I tested this on a ESP32 board and was able to get a meaningful result after adding:
Wire.begin(5,4,400000); // SDA pin 5, SCL pin4, bus speed 400kHz
This goes into the setup loop above serial begin, and the Serial output then works as expected.
It would be nice to add this to the original to help.
Thank you for the library, I tested this on a ESP32 board and was able to get a meaningful result after adding:
Wire.begin(5,4,400000); // SDA pin 5, SCL pin4, bus speed 400kHz
This goes into the setup loop above serial begin, and the Serial output then works as expected.
It would be nice to add this to the original to help.