Hi!
Here is a library to control a 16x2 serial LCD board, with maybe a little bit higher level API for ease of use.
// Sample of code:
void loop()
{
String myString = "Hello World";
myLcd.Clear(); // clear the display
myLcd.SetBrightness(80); // set the brightness to 80%
myLcd.SetDisplay(true, true, false); // enable display and cursor underline but not cursor blink
myLcd.Print(1,3,myString); // print a string @ line 1, offset 3
delay(1000);
...
}
The library can be found on my Github repository (https://github.com/alinagithub/LibSerLcdArduino).
The documentation can be found on the Github wiki page (https://github.com/alinagithub/LibSerLcdArduino/wiki).
Some other related information:
- https://www.sparkfun.com/tutorials/246
- https://www.sparkfun.com/datasheets/LCD/SerLCD_V2_5.PDF
- Arduino Playground - SparkFunSerLCD
- Arduino Playground - SerLCD
Enjoy.
AL