hi;
i have a pic18 micro interfacing to a 635 lcd over ttl serial. i've attached my test code below, i'm simply trying to send data to the lcd for now, thus far i've been unsuccesful and nothing displays. i'm also printing out to a second lcd over digital outputs for string verification. the string appears on the second lcd screen as 3110TKHI! and the crc result is 60200 displayed as a 16bit integer. parsing the string...31-->cmd write to lcd....10-->data length....TKHI!-->data string.
does anyone see what's missing, i've compared to the win test code but obviously something is incorrect.
serial setting: #use rs232(uart1, baud=115200,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8)
i have a pic18 micro interfacing to a 635 lcd over ttl serial. i've attached my test code below, i'm simply trying to send data to the lcd for now, thus far i've been unsuccesful and nothing displays. i'm also printing out to a second lcd over digital outputs for string verification. the string appears on the second lcd screen as 3110TKHI! and the crc result is 60200 displayed as a 16bit integer. parsing the string...31-->cmd write to lcd....10-->data length....TKHI!-->data string.
does anyone see what's missing, i've compared to the win test code but obviously something is incorrect.
serial setting: #use rs232(uart1, baud=115200,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8)
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.
Attachments
-
1.1 KB Views: 380
-
989 bytes Views: 382