First of all I want to make sure that the lcd is working at all. How do I do that?
First of all I want to make sure that the lcd is working at all. How do I do that?
Last edited by selbstdual; - 21st January 2008 at 22:13.
Be well - whoever you are.
first, make sure that when you apply power, the top line of the LCD displays solid blocks. If this is the case, try the additions i suggested above.
If this is not the case, you probably need to have a contrast control for the LCD. You need a variable resistor and hook it up like this:
Code:LCD pin 3 | | +5v | | | | | \ | / ---->\ variable resistor (10k or bigger) / \ | | gnd
"I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams
I am not sure if this is your problem, but you might want to try changing "Define OSC 20" to all capitals "DEEFINE OSC 20". The compiler may not recognize lower case in DEFINE statements.
Ben
Can we come back to the topic whether the display works or not? Actually the blocks are black, when power is applied. But does that mean that symbols can be displayed? How to figure that out?
Be well - whoever you are.
Bookmarks