Interfacing LCD iwth microcontroller with C++
Hello,
I am new·a new user/developer to·the Parallax LCD. I want to interface this LCD with ADI's BlackFin procesor. Can any body help me in this regard. I need urgent help. I have attached a document with this post, which explains how I want to use the LCD and a sample C++ code.
help from any body who has experience in interfacing the lcd with a uC will be appreciated.
Waiting for help
I am new·a new user/developer to·the Parallax LCD. I want to interface this LCD with ADI's BlackFin procesor. Can any body help me in this regard. I need urgent help. I have attached a document with this post, which explains how I want to use the LCD and a sample C++ code.
help from any body who has experience in interfacing the lcd with a uC will be appreciated.
Waiting for help
![confused.gif](http://forums.parallax.com/images/smilies/confused.gif)
Comments
You'll have to get help from elsewhere on the programming side since that depends on the the processor, it's capabilities, and the program development tools available and this is a support forum for Parallax products, not that of the microprocessor (the Blackfin).
I would like people to concentrate on the variables str1 and str2, and the way I am sending those data to serial ports. Will it display all the data correctly on LCD as expected.
Apologies if sombody can't understand what I am saying.
www.parallax.com/Portals/0/Downloads/docs/prod/audiovis/SerialLCD-v2.0.pdf
describes the commands for the Parallax Serial LCD, beginning on page 8. If your processor sends out the appropriate commands at 8N1 at the appropriate baudrate, it will work.
Two comments:
First, you'll see in the documentation that you need to have a short delay after initializing the LCD. I don't see that in your code.
Second, it looks to me as though you're sending commands to move the cursor to the next position before each character is sent. You do not need to do that. If you send one character and then another, the two characters will be displayed in consecutive positions. Again, look at the documentation, in the section on "Moving the Cursor". That's good news - it's going to cut in half the number of bytes you need to send.
Post Edited (sylvie369) : 12/18/2008 12:11:22 PM GMT