please dont rip this site

Routines to control an HD44780-based LCD module emulating a tty screen

by Isaac Marino Bavaresco

These routines implement the interface to text LCD modules controled by the HD44780 controller and compatibles. The display mimics a TTY screen, with automatic scroll and recognizes the standard control codes '\a', '\b', '\f', '\n', '\r', '\t' and '\v'.

I'm using this code for some years now, in various slightly different versions. Now I decided to make the 'definitive' version, to be the most flexible yet as simple to use as possible.

This incarnation is not tested yet. I'm not sure the code without the R/!W pin is OK, because I always use the R/!W pin.

I included a lot of #if... to allow for maximum flexibility and I must test every combination to make sure I didn't screwed anything.

They can be used together with the 'stdio' functions ('printf', etc.) to program for embedded systems the same way someone would do for desktop systems.

The files below are a lighter version of the ones above. In this version, the scroll was replaced by wrap-around, to simplify the code and save some RAM and hardware-stack levels.

This version was tested and works very well. It was adapted to a different board than the version above, please check the ASCII-art at line 43 of file LCDcfg-lite.h.

Questions:

Comments:


file: /Techref/member/IMB-yahoo-J86/HD44780-tty.htm, 5KB, , updated: 2011/10/25 09:09, local time: 2024/10/8 04:24, owner: IMB-yahoo-J86,
TOP NEW HELP FIND: 
44.222.134.250:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.ecomorder.com/techref/member/IMB-yahoo-J86/HD44780-tty.htm"> Routines to control an HD44780-based LCD module emulating a tty screen</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?