Hello MSLaney,
MSLKaney>>pause 1000 ' wait for the LCD to startup
serout PortB.2,4,[$FE,$01] ' clear the screen<<
I notice you are using SEROUT, instead of LCDout.... I am assuming that you are using some kind of Serial LCD....
Many LCD's have to be initialized before they will work...
LCDout does this automatically for you....
SEROUT does NOT!!!
Thus, make up your mind... either use LCDout, and let PBP do all the work for you (but this also means you must use at least 4 pins for data, and a few others for Command/Data, Clock, etc.
Or using a serial backpack type LCD... you may need to initalize manually and do the overhead yourself.
Try sending a Dec 13 to your LCD to "Initialize" it ok??? Then try writing to it...
serout PortB.2,4,[13] ' Initialize LCD
or
serout PortB.2,4,[$0D] ' Initialize LCD
Dwayne
Last edited by Dwayne; - 21st June 2005 at 17:55.
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