Professional Documents
Culture Documents
Code By abrushfx.com
Started on July 9th 2012
************************************/
//http://www.abrushfx.com
//http://www.islandByte.com
//Used for this particular LCD with these pin specific pin numbers.
//http://dlnmh9ip6v2uc.cloudfront.net/images/products/00255-03-L.jpg
//http://www.sparkfun.com/datasheets/LCD/GDM1602K.pdf
#include <LiquidCrystal.h>
/*Connect LCD to Arduino:
LCD -> Arduino
--------------------------
1|VSS| -> Arduino GND
2|VDD| -> Arduino +5v
3|VO | -> Arduino GND pin + Resistor or Potentiometer
4|RS | -> Arduino pin 12
5|RW | -> Arduino GND - pin can be conected to 11. But Ground was used here.
6|E | -> Arduino pin 10
7|D0 | -> Arduino - Not Connected
8|D1 | -> Arduino - Not Connected
9|D2 | -> Arduino - Not Connected
10|D3 | -> Arduino - Not Connected
11|D4 | -> Arduino pin 5
12|D5 | -> Arduino pin 4
13|D6 | -> Arduino pin 3
14|D7 | -> Arduino pin 2
15|A | -> Arduino Pin 13 + Resistor (Backlight power)
16|K | -> Arduino GND (Backlight ground)
*/