Hi, I have a pic 18f2685 lcd with a 128-64 ag-12864 controller with ks108b.
The library lcd.c does'nt works with this pic
I tried with glcd.c, I get a compiler but nothing appears on the screen
Can use to give me advice
Thanks
coast
Joined: 03 Jan 2008 Posts: 6 Location: WALDERSLADE, KENT,UK
PIC SETUP
Posted: Sun Jan 06, 2008 8:34 am
YA NEED TO EXPLICITLY SET UP THE PORTS. nOTE ESPECIALLY THE PORT B BITS 0 TO 4 ARE SET AS ANALOG INPUTS AT POWER-UP (damn caps lock key!!) Start by looking at the i/o ports section in the data sheet and assume nothing. The devil is in some of the detail. We normally set up a simple "bit bashing" program and look at all the port pins while driving them up and down...view on a scope after setup of all tris etc etc to ensure we can do what we think we can with the bits.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum