|
Treehopper Java API
|
Microchip MCP9808 I2c temperature sensor. More...
Public Member Functions | |
| Mcp9808 (I2c device) | |
| Mcp9808 (I2c device, boolean a0, boolean a1, boolean a2) | |
| Mcp9808 (I2c device, byte address) | |
| void | update () |
| double | getCelsius () |
| boolean | isAutoUpdateWhenPropertyRead () |
| void | setAutoUpdateWhenPropertyRead (boolean value) |
| double | getFahrenheit () |
| double | getKelvin () |
Static Public Member Functions | |
| static double | toKelvin (double celsius) |
| static double | toFahrenheit (double celsius) |
Protected Attributes | |
| double | celsius = 0 |
| boolean | autoUpdateWhenPropertyRead = true |
Microchip MCP9808 I2c temperature sensor.
| io.treehopper.libraries.sensors.temperature.Mcp9808.Mcp9808 | ( | I2c | device | ) |
| io.treehopper.libraries.sensors.temperature.Mcp9808.Mcp9808 | ( | I2c | device, |
| boolean | a0, | ||
| boolean | a1, | ||
| boolean | a2 | ||
| ) |
| io.treehopper.libraries.sensors.temperature.Mcp9808.Mcp9808 | ( | I2c | device, |
| byte | address | ||
| ) |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Implements io.treehopper.libraries.sensors.IPollable.
|
inherited |
Implements io.treehopper.libraries.sensors.IPollable.
|
staticinherited |
|
staticinherited |
| void io.treehopper.libraries.sensors.temperature.Mcp9808.update | ( | ) |
Implements io.treehopper.libraries.sensors.IPollable.
|
protectedinherited |
|
protectedinherited |