DV164132 Microchip Technology, DV164132 Datasheet - Page 26
![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
5.8
DS41401A-page 26
USING THE RTCC DRIVER
5.7.3
FIGURE 5-10:
There are many segments present on the F1 Evaluation Platform LCD. To access these
segments, simply set the supplied #defines to 1 or 0.
FIGURE 5-11:
The RTC driver simply keeps track of seconds. The power-up initial value is ‘0’,
however a function (rtcc_set) is provided to change that value. To keep the seconds
up-to-date, the function, rtcc_handler, must be called more frequently than the
defined value of CLOCKS_PER_SECOND. There are two options for the RTCC driver.
The first option is to use the Timer1 counter to provide a 1 Hz interrupt
(CLOCKS_PER_SECOND = 1). The second option is to use the LCD write-allowed
interrupt flag to provide a 128 Hz event (CLOCKS_PER_SECOND = 128). The two
choices are selected by defining use_lcdif or undefining use_lcdif.
5.8.1
5.8.1.1
Intialize the RTCC function including Timer1, if required.
void display_volts(int v)
{
}
display_int(v);
DP3 = 0;
DP2 = 0;
S1 = 0;
S2 = 0;
AMPS = 0;
VOLT = 1;
KILO = 0;
OHMS = 0;
if (v < 0)
else
LCD Segment Definitions
RTCC Function Interface
rtcc_init
MINUS = 0;
MINUS = 1;
LCD DISPLAY
© 2009 Microchip Technology Inc.