Does anyone have the assembler code for 4 line Optrex compatible LCD's along with a string writing routine? Thanks in advance. Scott
- posted
18 years ago
Does anyone have the assembler code for 4 line Optrex compatible LCD's along with a string writing routine? Thanks in advance. Scott
"gobraves" schreef in bericht news: snipped-for-privacy@g47g2000cwa.googlegroups.com...
for which instruction set?
I have an FEMA CM204F-SYT1LY 20x4 using the HD44780 controller.
You still did not say which computer the assembler code would be for. I could guess that an PDP-11 assembler driver won't do for you.
-- Tauno Voipio tauno voipio (at) iki fi
I figured he wanted to know which instruction set of the LCD, but for the micro it is an Infineon 80C535.
So? Include context. See below.
-- "If you want to post a followup via groups.google.com, don't use the broken "Reply" link at the bottom of the article. Click on "show options" at the top of the article, then click on the "Reply" at the bottom of the article headers." - Keith Thompson
New to users groups of any kind.
I have an FEMA CM204F-SYT1LY 20x4 using the HD44780 controller running on an Infineon 80C535.
Hope this was right way to reply.
Good for you. Now you have the idea. Always snip out previous sig lines, unless you are commenting on them. (sig lines are everything following the "-- " line). You can also snip out irrelevant parts of the quoted area. The idea is to have any posting stand by itself, because you can never make any assumptions as to what previous messages are available to the reader. Usenet is much more than a google group.
-- "If you want to post a followup via groups.google.com, don't use the broken "Reply" link at the bottom of the article. Click on "show options" at the top of the article, then click on the "Reply" at the bottom of the article headers." - Keith Thompson
Try
Regards Anton Erasmus
Yes, but no 4 line LCD drivers so I might as well get started.....
Thanks Anton but there aren't any 4 line LCD drivers in assembler there. Guess I'd better get started huh?
Thanks Anton but there aren't any drivers for 4 line LCD's in assembler there so I might as well get started huh?
[snip...snip...]
Character LCD drivers are really not that hard to put together. The most difficult part, usually, is getting the initialization correct. That is not "hard," as such, but it does require paying attention to the details. If it says "wait more than 4.1 msec" don't expect good things to happen if the code blows through in 2 usec.
The document at
One thing to note about the above manual, to alleviate a potential source of confusion. All of the places with things like "144444444444444244444444444443" are the relics of their having built the PDF file without having incorporated a required graphics font. The "144444444444444244444444444443" things are just long "}" characters.
-- Rich Webb Norfolk, VA
for the number of lines at bit DB3 and that is 0 or 1, for 1 or 2 lines.
You are unlikely to find code that does exactly what you want at 8052.com but there is lot's of LCD code there that you can adapt.
Ian
You did not look very hard. Try
This is code to convert hex to dec, including code to drive a 4x40 LCD.
Regards Anton Erasmus
I think the poster was looking for technical information.. not netiquette lessons. After all that you didn't offer any answers..
If that was the case he would be obliged ;)
And what makes you think anyone is obliged to meet his expectations?
Ian
I'm new to this users group and my only pre-conceived notion of it was that it was a resource for embedded systems people. You give knowledge when you can, and you ask for it when needed. I wasn't aware that this was an open forum to be rude or insulting. I'm sure there are an infinite number of blogs where that can be done. Is civility now dead in geekdom as well? If you don't have the information, or don't want to share it, isn't it better to say nothing?
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.