Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

LiquidCrystal library with object support to allow for multiple kinds of connections (I2C, 3 wires through shift registers, or even a 2 wire SR hack)

branch: master
Octocat-spinner-32 docs Initial import from http://hg.bijland.net/fmalpartida/new-liquidcrystal January 22, 2012
Octocat-spinner-32 examples Added a very featureful LiquidCrystal Demo January 22, 2012
Octocat-spinner-32 I2CIO.cpp Initial import from http://hg.bijland.net/fmalpartida/new-liquidcrystal January 22, 2012
Octocat-spinner-32 I2CIO.h Initial import from http://hg.bijland.net/fmalpartida/new-liquidcrystal January 22, 2012
Octocat-spinner-32 LCD.cpp Initial import from http://hg.bijland.net/fmalpartida/new-liquidcrystal January 22, 2012
Octocat-spinner-32 LCD.h Initial import from http://hg.bijland.net/fmalpartida/new-liquidcrystal January 22, 2012
Octocat-spinner-32 LiquidCrystal.cpp Initial import from http://hg.bijland.net/fmalpartida/new-liquidcrystal January 22, 2012
Octocat-spinner-32 LiquidCrystal.h Initial import from http://hg.bijland.net/fmalpartida/new-liquidcrystal January 22, 2012
Octocat-spinner-32 LiquidCrystal_I2C.cpp Initial import from http://hg.bijland.net/fmalpartida/new-liquidcrystal January 22, 2012
Octocat-spinner-32 LiquidCrystal_I2C.h Initial import from http://hg.bijland.net/fmalpartida/new-liquidcrystal January 22, 2012
Octocat-spinner-32 LiquidCrystal_SR.cpp Fixed my former incorrect comments for LiquidCrystal_SR.cpp January 27, 2012
Octocat-spinner-32 LiquidCrystal_SR.h Small documentation tweaks to LiquidCrystal_SR after reading the code… January 22, 2012
Octocat-spinner-32 LiquidCrystal_SR_LCD3.cpp Added a few comments about the new code location. January 29, 2012
Octocat-spinner-32 LiquidCrystal_SR_LCD3.h Add my own module: LiquidCrystal_SR_LCD3 as well as README for github. January 22, 2012
Octocat-spinner-32 README Add my own module: LiquidCrystal_SR_LCD3 as well as README for github. January 22, 2012
Octocat-spinner-32 README.import.txt Small documentation tweaks to LiquidCrystal_SR after reading the code… January 22, 2012
Octocat-spinner-32 keywords.txt Initial import from http://hg.bijland.net/fmalpartida/new-liquidcrystal January 22, 2012
README
---------------------------------------------------------------------------
Originally Created by Francisco Malpartida on 2011/08/20.
Copyright 2011 - Under creative commons license 3.0:
       Attribution-ShareAlike CC BY-SA

This software is furnished "as is", without technical support, and with no 
warranty, express or implied, as to its usefulness for any purpose.

This source comes from
https://github.com/marcmerlin/NewLiquidCrystal

Francisco gets all the credit for doing the original work of making a modular
LiquidDisplay library. This code was forked off Francisco's code:
http://hg.bijland.net/fmalpartida/new-liquidcrystal
https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home

In turn, Raron used Francisco's code and made this shift register library:
http://code.google.com/p/arduinoshiftreglcd/

This is where I came in, by writing LiquidCrystal_SR_LCD3, was forked off
LiquidCrystal_SR which unfortunately does not use the same wiring.
I targetted the code for the Pebble and Pebblev2 (just released by freetronics
in the arduino miniconf as part of linux.conf.au 2012) and therefore this code
organizes the output data differently.

Pinout for this code is used by all derivatives of the original LCD3Wire page:
http://www.arduino.cc/playground/Code/LCD3wires

This includes the LCA (linux.conf.au) Arduino Miniconf Pebble: 
http://shieldlist.org/luke-weston/pebble
https://github.com/lukeweston/Pebble

It also includes the Pebble v2:
http://www.arduinominiconf.org/index.php/Pebble_V2.0_Instructions
http://www.freetronics.com/pages/pebble-v2
https://github.com/lukeweston/pebble20/blob/master/README.md
https://github.com/lukeweston/pebble20/blob/master/pebble-sch.pdf

Pebbles and the LCD3Wires design are compatible hardware-wise, but
the LCD3Wire code does not work with arduino 1.0 anymore and is generally
quite limited in functionality compared to this framework that provides the
entire LiquidDisplay functionality.

Why write LiquidCrystal_SR_LCD3 and not just use the LiquidCrystal_SR pinout?
- LCD3Wire was first and therefore have hardware that was designed with 
  incompatible (IMO better if you don't mind 3 wires) pinout.
- The pinout used here is same saner (the 4 bits for the LCD are all in one 
  nibble of the shift register, not spread across 2 like in the
  LiquidCrystal_SR pinout)
 
This code makes sure to properly follow the specifications when talking
to the LCD while using minimal delays (it's faster than the LCD3wire and aiko
pebble code).

Something went wrong with that request. Please try again.