A new library for LCDs connected over SPI.


I just released a new library to drive DOG text LCDs from Electronic Assembly

Code and documention is here : http://code.google.com/p/doglcd


  • Displays are available with 1, 2 and 3 lines of characters
  • Can be combined with Led backlights in 5 different colors
  • Only 4 Arduino IO-pins needed to control the display (SPI-mode)
  • You can have more than one display connected to your arduino. Each new display needs only 1 more IO-Pin.
  • Software controlled contrast setting
  • Software controlled backlight setting

Here is a picture of my Nano driving 2 displays (with lots of pins left for other Arduino tasks)


I did something similar using I2C and an 8-bit I/O expander chip. Also took Limor Fried's LiquidCrystal library and generalized it to handle a couple of different connection schemes (including the original 4-/8-pin parallel mode).

If anyone is interested in using the reworked library as base for a general-purpose LCD library which can tie into this SPI connection mode as well, feel free to adapt/modify/extend the code - it can be found at http://news.jeelabs.org/2009/09/26/generalized-liquidcrystal-library/