Arduino Playground is read-only starting December 31st, 2018. For more info please look at this Forum Post

SLCD - Serial LCD library

Here's a small library for accessing the SparkFun SerLCD based LCD screens. The library is really just an implementation of the SerLCD spec, with a couple of nifty little effects thrown in.

Install

GitHub: SLCD re-up

  • Download the SLCD library here.
  • unzip SLCD-master.zip to: (arduino home folder)/libraries
  • Rename folder to SLCD
  • restart the Arduino app.

Documentation

None really at this time. Please look at the demo code for examples of how to use the functions.

You'll probably be most interested in:

print(row, col, string)

which will print a string at a specific row and column. This has been tested on a 2 row device, but not on a 4 row device. Theoretically it should work...

Demo

I've included a demo sketch that includes a call to all of the major functions. You can access this sketch through the open->Examples->Library-SLCD->slcd_demo

Notes

It uses the hardware serial library, but my C++ skills aren't up to snuff to implement a SoftwareSerial object in the code. Feel free to update it as you see fit.