Simple LCD Object Question
IRobot2
Posts: 164
I know there is probably a really simple answer to this but it is just not clicking in my brain. I am using a serial LCD (27977) along with the Serial LCD Driver from the Object Exchange. For the life of me I can not figure out what (or where) to pass commands to the object to print out a statement on the screen. I have went over and over the tutorial in the "Objects Lab of the Education Kit Book". Am I just missing the obvious or am I missing some much needed tutorials? Could some one give me a little insight (and maybe a snipit of spin code) on how I can get my program to print something out using this object? Thanks every one for your help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Alex Burke
"Beware of computer programmers that carry screwdrivers." -Leonard Brandwein
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Alex Burke
"Beware of computer programmers that carry screwdrivers." -Leonard Brandwein
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Alex Burke
"Beware of computer programmers that carry screwdrivers." -Leonard Brandwein
of your wiring setup? That would give us a really good idea of where you are at.
I would normally have included that in my first post but the thing is I really do not have any code at all.... because I don't know what to put. There really is no complex project yet... I have to learn how to talk to the LCD by calling a method in another object first.
Let me simplify my question a little. How do I use the Serial LCD Driver Object listed above? My circuit consists of the 27977 LCD (Power to 5v, ground to ground and RX to Pin0 (or whatever)) and the prop. All I want to do is put text on the LCD screen.
All this sounds even more basic when I type it out. I am sure I have just not been reading/learning the right thing.
Does this clear things up a bit? Sorry for any confusion. Thanks for all the help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Alex Burke
"Beware of computer programmers that carry screwdrivers." -Leonard Brandwein
·Open Debug_LCD_Test and see how it calls Debug_LCD.
Post Edited (hover1) : 10/5/2009 9:58:56 PM GMT
Oh just use P0 off the prop and it runs at 19200 baud
to state the obvious: did you connect the right Tx to Rx pin-pair ?
I mean the prop is the Tx and the LCD is the Rx.
best regards
Stefan