How to set baud rate in lcd 4X20
Hi guys I am using the parallax 4x20 lcd in my code there is a command """"""Baud··········· CON···· 32············· ' 19.2 Kbps (BS2)""""
What is the value to make it 9600 and can you please tell me how to make that calculation so I know it for myself
I can see that baud con 32 is equal to 19.2 so how do I calculate for other baud rates
thanks
·
What is the value to make it 9600 and can you please tell me how to make that calculation so I know it for myself
I can see that baud con 32 is equal to 19.2 so how do I calculate for other baud rates
thanks
·
Comments
Are you using a Basic Stamp? The Baudmode will be different with the different varients of the chip. You did RTFM didn't you [noparse]:)[/noparse]
Page 423 of the Basic Stamp Manual 2.2.
Jim
Look here at this web page, there is a fine buadmode table in both HEX and Decimal for all Basic Stamp modules and much more: http://www.emesystems.com/BS2rs232.htm
looking at the chart Electro posted,,thank you very much by the way. I can not resolve the 32 so I guess maybe the question is how do I determine what the value is dec, HEX, Bin I do know binary so leave that out but I hope I Am explaing my problem correctly ,, the cod eI am using is just the sample code that comes with the 4X20 display you can download from the store and the 4X20 LCD
Post Edited (mikediv) : 6/16/2010 6:34:58 PM GMT
If you got some times to read this web page (and the other pages like this)·there is some serial communications knowledge more then·basic understanding of it, which we need to work with microcotrollers. I think that, pages like this must be read more then one time and try to take some notes from the interesting parts and then look for more info like that.
The Serial Communication is quite wide subject, there is a lot of writers with books, articals and web pages covering the subject, and yet there is more who writing about it, just like·some other electronics subjects, every day·samething new, with new boundaries!
Post Edited (electrosys) : 6/17/2010 8:17:32 AM GMT