The Parallax LCD library allows for writing to Parallax three wire LCDs. It is known to work with Parallax LCD's (27976, 27977, 27979).
For more information about Parallax LCDs, see http://www.parallax.com
The library offers the following functions:
- setup
- on
- off
- scrollLeft
- scrollRight
- empty
- cursorUnderline
- cursorBlock
- cursorOff
- cursorOnChrBlink
- cr
- lf
- backLightOn
- backLightOff
- pos
- at
Using the library is simple. See the included example for more.
#include <SoftwareSerial.h>
#include <ParallaxLCD.h>
ParallaxLCD lcd(2,2,16); // desired pin, rows, cols
void setup () {
lcd.setup();
delay(1000); // Wait for the LCD to start up
lcd.at(1,3,"Hello World!");
}
- Clone this repository or select the "Zip" button above to download the code.
- Place the directory into
libraries
within your Arduino Sketches folder. (You may have to create thelibraries
folder.) - Restart the Arduino IDE if it's running.
- Go to
File
->Examples
. There should now be an entry forparallax_lcd
in the list. Select it to see the example. - Using the example as a guide, write your own code!
Original Work done by: Douglas Farrell
Based on SparkFunSerLCD.h from: allen joslin