Hi friends, im using the picdem mechatronics and is the first time that i use a lcd like vim 332, the pic includes a module for drive lcds, i've found a sample of how to use this lcd, is simple but now i want to control it and use all 3 digits available. the pbp sample is this for control this lcd:
PAUSE 1000 'wait for LCD start up
LCDPS = %00110000 'Selecting the frame prescale
LCDSE0.0 = 1 'Segment pins
LCDSE0.1 = 1
LCDSE0.2 = 1
LCDSE0.3 = 1
LCDSE0.6 = 1
LCDSE1.3 = 1
LCDSE2.0 = 1
LCDSE2.5 = 1
LCDSE2.6 = 1
LCDSE2.7 = 1
LCDCON = %10010011 'Multiplex,bias,timing, sleep
LCDDATA0 = %01001000 'ENCIENDE EL SEGMENTO A DEL 2 Y 3 DIGITO
LCDDATA1 = %00001000 'ENCIENDE EL SEGMENTO A DEL 3 DIGITO
LCDDATA2 = %10100000 'ENCIENDE EL SEGMENTO A DEL 3 DIGITO
LCDDATA3 = %00000000
LCDDATA4 = %00001000 'ENCIENDE EL SEGMENTO G DEL 3 DIGITO
LCDDATA5 = %11100000 'ENCIENDE EL SEGMENTO G DEL 2 DIGITO, EL SEG F Y G DEL PRIMER DIGITO
LCDDATA6 = %00001100 'ENCIENDE EL NUM 1 Y EL SEG E DEL 3 DIGITO
LCDDATA7 = %00000000
LCDDATA8 = %10100000 'ENCIENDE EL SEGMENTO C DEL 2 Y PRIMER DIGITO
LCDDATA9 = %01001000 'ENCIENDE EL SEGMENTO D DEL 2 Y 3 DIGITO
LCDDATA10 = %00000000
LCDDATA11 = %00000000
PIR2.4 = 0 'clearing LCD interrupt flag
LCDCON = %01010011 'enabling bias voltage pins
LCDCON = %11010011 'enabling the LCD module
My question is: Is there any routine or library in pbp that control this kind of LCDs?, or Does anybody have done any like this?
The thing that i wanna do is make a pbp program wich make the same that the project5 done by microchip in assembler. I'll let u below the assembler code and if anybody have something like this, i'll be grateful with that person. Thanks in advance and best regards..