Content originally posted in LPCWare by sunrutcon on Sun Jan 19 12:50:32 MST 2014 Hello,
just bought LPC11c24, and wanted to connect LCD with hd44780 controller. I searched the internet, and this forum for help and I found some examples, and I would like to share my solution if somebody would like to do the same, to save him time. I bougnt LCD from ebay: http://www.ebay.com/itm/180953621701?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649
But one thing I don't like about 2014 is that one can no longer find the current consumption of display devices. What is neglectable of course, compared to the power consumption of the LED backlight they need to make anything visible.... |(
Content originally posted in LPCWare by MarcVonWindscooting on Tue Jan 21 10:28:39 MST 2014 Welcome to the forum! Now the next step has to be a console abstraction, that allows writing characters without having to care about line end. ;-) Automatic scrolling. '\r', '\n', '\b' translation into the expected cursor movement. I typically implement '\f' (Form feed) as clear screen and gotoxy(0,0). I don't know if this can be done without (wasting) character memory on the uC.
I don't use these HUGE hd44780 displays any more for their 5V supply and their size, compared the (physically) small microcontroller.
3.3V supply. Some of these are hd44780 compatible, although I focus on the graphic ones, mostly. There are SPI and I2C versions available, but at least the SPI ones are not 'pure' SPI but also some control pins have to be toggled in between => poor chip design. That makes it hard to save pins and to create library code, that can be integrated without much effort (e.g. ISR outputting data from a buffer to the display).