BMP280 and MCP9808 sensors
Temperature sensors are implemented as separate classes:
- PotBMP280Device
- PotMCP9808Device
They incapsulate required initialisation logic and actual data reading:
- readTemperature (returns number in Celsius)
BMP280 is more advanced sensor. It also measures pressure and humidity. To get all parameters use #readParameters message which returns three items array (Celsius, hPa, humidity percents)