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 CCS Technical Support

12x2 lcd screen with flexlcd.c or lcd.c?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
bignick270



Joined: 11 Sep 2008
Posts: 44

View user's profile Send private message

PostPosted: Fri Mar 20, 2009 6:11 am     Reply with quote

I tried it but I was still getting the black boxes so I thought I knew my connections were right but maybe something wasn't getting a good connection since i was working off a breadboard. I happened to turn the power on and off a few times, some times i would get the black box, some times i would get random characters, sometimes i would get a blank screen with the cursor blinking. There was one time when the hello came up. I think it had a lot to do with my breadboard.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Mar 20, 2009 10:26 am     Reply with quote

You're speaking in the past tense, as if you have solved the problem by
using a different board, or something.

But anyway, if you still have the problem, it sounds like a power-on
problem. Try these things:

1. Enable the BROWNOUT and PUT fuses on your PIC.

2. Edit the delay_ms() statement at the start of the lcd_init() routine,
and increase it to 50 or 100 ms.

3. If neither of those things work, then consider increasing the delays
throughout the lcd driver. Change all delay_cycles() statements to
delay_us().
bignick270



Joined: 11 Sep 2008
Posts: 44

View user's profile Send private message

PostPosted: Fri Mar 20, 2009 10:31 am     Reply with quote

past tense, yes, as in i was messing with it last night and i wrote the last message this morning lol.

I sorta broke a pin on the pic so i will be delayed for a while until i can play again. Thanks for the help though, i will use this information for later use.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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