mochouinard 6 Posted February 4, 2012 Share Posted February 4, 2012 This is my attempt for a basic library to control an 16x2 or more LCD display using 6 PIN and controling the hd44780 in 4bit mode. Main .c: http://dl.dropbox.com/u/13477186/MSP430 ... _example.c Library .h: http://dl.dropbox.com/u/13477186/MSP430 ... _hd44780.h Library .c: http://dl.dropbox.com/u/13477186/MSP430 ... _hd44780.c Makefile : http://dl.dropbox.com/u/13477186/MSP430 ... 0/Makefile It working great for my needs so far. Work on my 4 line display too.. My next step will be to make this library support the use of an 595 for 3 pin operation. I would also like some way to allow multiple display... But it seem doing this will require using more memory, and I'm trying to stay away from that. I'll would love some constructive feedback... Thanks Moc UPDATE 22h34 4 feb 12: I've lowered the footprint from 800byte to 440 byte for the demo program using compiler optimization and code change. GeekDoc, bluehash and Rickta59 3 Quote Link to post Share on other sites
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.