View previous topic :: View next topic |
Author |
Message |
bignick270
Joined: 11 Sep 2008 Posts: 44
|
|
Posted: Fri Mar 20, 2009 6:11 am |
|
|
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
|
|
Posted: Fri Mar 20, 2009 10:26 am |
|
|
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
|
|
Posted: Fri Mar 20, 2009 10:31 am |
|
|
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. |
|
|
|