Simple Serial LCD OBJ question
DRMorrison
Posts: 81
Of all of the serial objects in the exchange that will drive the Parallax 4-line LCD, which of them will do the minimum job of just writing
to the LCD, and have the minimum code size? Compact. I only need text and integers for this project, but see below for another
question.
Thank you, Daniel
As an aside, how do I print decimal numbers to said LCD? That must require a different object?
I should state that I'm kind of new at his stuff, and have looked into this, but not with much luck.
Thanks for any help.
to the LCD, and have the minimum code size? Compact. I only need text and integers for this project, but see below for another
question.
Thank you, Daniel
As an aside, how do I print decimal numbers to said LCD? That must require a different object?
I should state that I'm kind of new at his stuff, and have looked into this, but not with much luck.
Thanks for any help.
Comments
Doesn't this need an object? I've no problem with writing to the LCD, I was looking for a smaller object than the FullDuplxSerial object, if such a thing exists.
Is there an object available that is bare bones, so as not to take up much space?
Daniel
Chris
Now, what about printing floating numbers to the LCD? As in 23.45
Daniel
I do have a method that can accept an integer, a divisor, and the number of decimal places to display the result. For 23.45, that's 2345 divided by 100 displayed to 2 decimal places so you'd call DecF(2345,100,2). Hope this helps.
Chris Again based heavily of the Dec method from FullDuplexSerial.
You are a life saver. Thanks a ton.
I did notice that this doesn't work if my clk is set to 5MHz i.e.
Works fine when running at the 80MHz setting. Is it due to the CON you set as Baud = 19_200 and later used as in the PUB tx(tx_byte) method?
Daniel
Thanks to all for the help. You guys are great!
Daniel