Test for MCP9800. 9-12 bit temperature sensor and thermostat with I2C (two-wire) SMBus compatible interface.

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
lnadal
Date:
Wed Aug 10 06:52:29 2011 +0000
Parent:
1:5dbac5939fd7
Commit message:

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Aug 10 06:51:08 2011 +0000
+++ b/main.cpp	Wed Aug 10 06:52:29 2011 +0000
@@ -177,7 +177,7 @@
 
     // Set temperature limit (9-bit)
     set_TL(25.4375);   // -25.4375, 25.4375, 125, -55...
-// If ambient temperature > temperature limit then alert pin is low.
+// If ambient temperature > temperature limit then alert pin is low (with a pull-up resistor).
 
 
     // Set hysteresis register (9-bit)