How to use stickbreaker’s I2C improved code

stickbreaker has worked a lot to improve the problems with I2C on the ESP32. But his work has not yet been merged into Arduino-ESP32 framework. To use stickbreakers improvements you can download his code from his Github repo’s release and replace the following files in your ESP32 folder: examples in libraries/Wire/examples readme in libraries/Wire/doc readme in root modified files cores/esp32/esp32-hal-i2c.h cores/esp32/esp32-hal-i2c.cpp cores/esp32/esp32-hal-log.h libraries/Wire/src/Wire.h libraries/Wire/src/Wire.cpp

Read more

ESP32 I2C and ADC – Light sensor digital and analog

Even the brightness or light values are not really important for a weather station,           I added this information as well in my first ESP32 project. I did it mainly because I could learn how to use the I2C connection and the analog to digital converter of the ESP32. I had two sensors laying around for this, one is a TSL2561, a sensor that measures light and returns the values in Lux. I have a module

Read more
Free Link Directory