Hello Ager,
Ager>>lcdout $fe,$c0,"fdfsd"
Looks, good, Make SURE you are correct on your example...
LCDout $fe,$0c,"3434" Turns the cursor off!!!!! and if you write the exact same data on line to as line one, you will totally miss your error!
Use
LCDout $fe,$Co,"3434"
Notice the $co and the $oc !!!!!!
can you send us some "short" code that simulates the problem?
Can you use another program and get the same results?
Are you sure that your program is hitting this line of code?
(blink a LCD just before you impliment it.)
Are you sure you have defined your LCD as 2 lines?
Your LCD setup should look something like the following...(wiht different ports).
DEFINE LCD_DREG PORTB
DEFINE LCD_DBIT 0
DEFINE LCD_RSREG PORTA
DEFINE LCD_RSBIT 7
DEFINE LCD_EREG PORTA
DEFINE LCD_EBIT 0
DEFINE LCD_BITS 8
DEFINE LCD_LINES 2
DEFINE LCD_COMMANDUS 2000
DEFINE LCD_DATAUS 50
Dwayne
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Bookmarks