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 08:09, local time: 2019/1/20 10:09, owner: IMB-yahoo-J86,
TOP NEW HELP FIND: 
54.146.206.127:LOG IN

 ©2019 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.piclist.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 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?