CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

lcd pic18f2685

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
parain



Joined: 06 Jan 2008
Posts: 2

View user's profile Send private message

lcd pic18f2685
PostPosted: Sun Jan 06, 2008 5:27 am     Reply with quote

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

View user's profile Send private message Visit poster's website

PIC SETUP
PostPosted: Sun Jan 06, 2008 8:34 am     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group