ESP32 (24) – I2C a pratical example with HTU21D sensor
In my previous tutorial I explained how to use the I2C driver included in the esp-idf framework to communicate with I2C devices. Today I’ll show you a pratical example: the use of a temperature/humidity sensor. The sensor For this tutorial I chose the HTU21D sensor by Te Connectivity. This sensor offers a good level of accuracy and…