http://www.pololu.com/docs/0J17/5.c -- This library gives you the ability to control the 8×2 character LCD on the 3pi robot, Orangutan SV-xx8, and Orangutan LV-168. It implements the standard 4-bit HD44780 protocol, and it uses the busy-wait-flag feature to avoid the unnecessarily long delays present in other 4-bit LCD Arduino libraries. This comprehensive library is meant to offer as much LCD control as possible, so it most likely gives you more methods than you need. You can comment out unneeded methods (e.g. showCursor()) in OrangutanLCD.cpp to make this library smaller. If you do this, remember to delete OrangutanLCD.o so and restart the Arduino IDE so that the library will be recompiled. This library is designed to gracefully handle alternate use of the four LCD data lines. It will change their data direction registers and output states only when needed for an LCD command, after which it will immediately restore the registers to their previous states. This allows the LCD data lines to function as pushbutton inputs and an LED driver on the Orangutan and 3pi. You do not need to initialize your OrangutanLCD object before use. All initialization is performed automatically when needed. All of the methods in this class are static; you should never have more than one instance of an OrangutanLCD object in your sketch.
Share this library with your friends on your favorite profile: