Driver to read and control a serial (i2c) temperature sensor, The Microchip MCP9808 is the digital sensor to control, can be read it, set its resolution, shutdown and also set alarms.
Dependents: Hotboards_temp_alarms Hotboards_temp_fahrenheit Hotboards_temp_reading_temperature LCD_Temperatura
Diff: Hotboards_temp.h
- Revision:
- 1:f850ee1083ba
- Parent:
- 0:83da47b7ed26
--- a/Hotboards_temp.h Thu Mar 17 04:57:00 2016 +0000 +++ b/Hotboards_temp.h Tue Mar 22 20:39:49 2016 +0000 @@ -58,6 +58,7 @@ class Hotboards_temp { public : + /** Create Hotboards_temp instance * @param i2c iic peripheral to use with the temp sensor * @param address sensor address (A0,A1 and A2 values) @@ -96,7 +97,6 @@ * @endcode */ float read( void ); - /** Set Tlower and Tupper values and also active ALERT output pin * @param lower lower temperaure value to set ALERT pin * @param upper upper temperaure value to set ALERT pin