SLCD - Serial LCD library

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

Install

  • Download the SLCD library here.
  • untar SLCD.tgz to: (arduino home folder)/hardware/libraries, and 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.

Share