DM164130-1 Microchip Technology, DM164130-1 Datasheet - Page 25

BOARD EVAL PICKIT PIC16LF1937

DM164130-1

Manufacturer Part Number
DM164130-1
Description
BOARD EVAL PICKIT PIC16LF1937
Manufacturer
Microchip Technology
Series
PICkit™r
Type
MCUr
Datasheet

Specifications of DM164130-1

Contents
Board
Processor To Be Evaluated
PIC16LF1937
Processor Series
PICxxF1xxx
Data Bus Width
8 bit
Operating Supply Voltage
1.8 V to 3.6 V
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC16
Silicon Core Number
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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DM164130-1
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DM164130-10
Manufacturer:
MICROCHIP
Quantity:
12 000
© 2009 Microchip Technology Inc.
5.7.2
5.7.2.1
This function configures the LCD peripheral for this board and this glass. Type B
waveforms are used to allow the LCD peripheral to be used for the real time clock
function. The Timer1 oscillator is configured as the LCD clock source.
FIGURE 5-7:
5.7.2.2
This function accepts a BCD_TYPE variable and maps each digit to the correct
segments. Mapping the segments is done in two stages. First, the digit is converted to
the correct 7-segment mapping. Then, the 7-segment mapping is converted to the
actual glass segments with a long series of “if-else” statements. This function will need
extensive work in the “if-else” statements for applications driving different glass.
FIGURE 5-8:
5.7.2.3
These two functions simply turn the LCD peripheral off. The Timer1 oscillator is left
running. One use for these functions is to implement display blinking.
FIGURE 5-9:
System_initialize()
{
}
void display_int(int t)
{
}
void update_blinking()
{
}
lcd_init();
if(time(0) % 2) // if an odd number of seconds
{
}
else
{
}
BCD_TYPE bcd;
bcd.digit0 = t %10;
t /= 10;
bcd.digit1 = t % 10;
t /= 10;
bcd.digit2 = t % 10;
t /= 10;
bcd.digit3 = t%10;
lcd_display_digits(bcd);
LCD Function Interface
lcd_init
lcd_display_digits
lcd_display_on / lcd_display_off
lcd_display_on();
lcd_display_off();
Hardware Libraries and Drivers
DS41401A-page 25

Related parts for DM164130-1