27220 Parallax Inc, 27220 Datasheet - Page 177

BOOK STAMPWORKS

27220

Manufacturer Part Number
27220
Description
BOOK STAMPWORKS
Manufacturer
Parallax Inc
Datasheet

Specifications of 27220

Accessory Type
Booklet
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
StampWorks
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Not applicable / Not applicable
Moving Forward · Page 167
THi
TLo
In the program the constants
and
are used to set the high and low
temperature thresholds. These values are expressed in whole degrees Fahrenheit,
and are converted to half-degrees Celsius before being written to the appropriate
register.
C
= (F - 32) x 5 / 9 x 2
half
Finally, note that as in the setup of the configuration register, a 10 millisecond
PAUSE is required after every EEPROM write. Once the thresholds are written to the
thermostat registers the THi and TLo outputs will operate independently and without
further program interface. The BASIC Stamp can read the configuration register to
get the status of the DS1620 THi and TLo outputs. See Experiment #30.

Related parts for 27220