In this chapter, we’ll produce a device library for a commonly used IoT device – an environmental sensor. For this book, I chose the Bosch BME280, which measures humidity, pressure, and temperature. The BME280 is a hugely popular sensor, and you can find many breakout boards built with the sensor that make it very easy to include in your project.
The joy of finding that diozero supports your device!
Some of the differences between reading from and writing to a device with I2C and SPI
The benefits ...