Hello. I am new to the forum and PBP. I am trying to get my 12f675 to drive an SGX-12032 using the internal osc. I was wondering if the problem I am having is with the program, my internal osc, or my cheapness (associated with the internal osc issue, hehehe).

I have the display working with the computer serial out program, just not with the PIC.

My program to get the backlight to turn on, I used the serout2 to try and compensate for any timing diff that may be there. The regular serout didn't work. 14 turns the display on. 2400 baud, 8bits, no parity & 1 stop bit. Please help....


TRISIO = 9
ANSEL = 0
CMCON = 7

bval VAR WORD
p1 VAR BYTE


bval = 350
p1 = 0

loop:
SerOut2 GPIO.2,bval,p1,[14,DEC 14,HEX 14, "14","hi"]
Pause 200

bval = bval + 1


IF bval = 415 Then newpace


GoTo loop

newpace: p1 = p1 + 1
bval = 350

GoTo loop