DV164132 Microchip Technology, DV164132 Datasheet - Page 28
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
DV164132
Manufacturer Part Number
DV164132
Description
KIT EVAL F1 FOR PIC12F1/PIC16F1
Manufacturer
Microchip Technology
Type
MCUr
Specifications of DV164132
Contents
Board, PIC kit 3
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC12, PIC16
Silicon Core Number
PIC12F, PIC16F
Silicon Family Name
PIC12F1xxx, PIC16F1xxx
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PIC16LF1937
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
DV164132
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
DV164132
Manufacturer:
MICROCHIP
Quantity:
12 000
F1 Evaluation Platform User’s Guide
DS41401A-page 28
5.9.1
5.9.1.1
This function configures the mcp9800 for 12-bit temperature, Continuous Conversion
mode. In this mode, the temperature is always ready to be read from the I
FIGURE 5-15:
5.9.1.2
This function reads the current temperature and scales the result to degrees C * 10.
(24.3C is returned 243)
FIGURE 5-16:
Thermostat()
{
}
System_init()
{
}
i2c_init();
mcp9800_init();
int temperature;
temperature = mcp9800_get_temp();
if(temperature > 260)
{
}
MCP9800 Function Interface
mcp9800_init
mcp9800_get_temp
turn_on_air_conditioner();
© 2009 Microchip Technology Inc.
2
C interface.