Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Parallax LCD library for use with Arduino 1.0 and higher

branch: master
README.md

Parallax LCD

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

Functions

The library offers the following functions:

  • setup
  • on
  • off
  • scrollLeft
  • scrollRight
  • empty
  • cursorUnderline
  • cursorBlock
  • cursorOff
  • cursorOnChrBlink
  • cr
  • lf
  • backLightOn
  • backLightOff
  • playTone
  • setCustomCharacter
  • printCustomCharacter
  • pos
  • at

Example

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!");
}

Installing

  • 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 the libraries folder.)
  • Restart the Arduino IDE if it's running.
  • Go to File->Examples. There should now be an entry for parallax_lcd in the list. Select it to see the example.
  • Using the example as a guide, write your own code!

License

This library is provided under the MIT license. You can obtain a copy of this license at http://opensource.org/licenses/MIT.

Misc

Original Work done by: Douglas Farrell

Based on SparkFunSerLCD.h from: allen joslin

Tone/Custom character support added by: Martin C. Stoufer

Something went wrong with that request. Please try again.