jessey, Try adjusting the voltage on the Contrast pin of the LCD. It should be close to 0 volts..
Dave Purola,
N8NTA
jessey, Try adjusting the voltage on the Contrast pin of the LCD. It should be close to 0 volts..
Dave Purola,
N8NTA
There's few missing DEFINE and one bad to fit your actual hardware.
Code:DEFINE LCD_RSREG PORTC 'LCD register select port DEFINE LCD_RSBIT 4 'LCD register select bit ' 4 Orange / Black RS Register select ------Connect to pin (6) RC4 DEFINE LCD_EREG PORTC 'LCD enable port DEFINE LCD_EBIT 5 'LCD enable bit ' 6 Blue / White E Enable ---------------Connect to pin (5) RC5 DEFINE LCD_DREG PORTC 'LCD data port DEFINE LCD_DBIT 0 'LCD data starting bit 0 or 4 ' 11 Blue DB4 Data bit 4 -----------Connect to pin (10) RC0 ' 12 White DB5 Data bit 5 -----------Connect to pin (9) RC1 ' 13 Green DB6 Data bit 6 -----------Connect to pin (8) RC2 ' 14 Orange DB7 Data bit 7 -----------Connect to pin (7) RC3
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hi Steve,
Thanks for the define codes, my Lcd works like a charm now. I'll remember that the next time I change a Lcd Define to another port.
Thanks again
jessey
You're welcome.
You live in a great city so far. i went there few years ago.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Me too live in a great city Steve.
I have not seen you here yet.![]()
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
A contract and/or a pre-paid airplane ticket always help![]()
Last edited by mister_e; - 20th October 2006 at 22:24.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hi Steve,
I spent some time in Montreal too, in the late 1960's and early 1970's. Beautiful city that still holds fond memories for me.
It's a small world.
jessey
Bookmarks