| Copyright | (c) Levent Erkok |
|---|---|
| License | BSD3 |
| Maintainer | erkokl@gmail.com |
| Stability | experimental |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
System.Hardware.Arduino.SamplePrograms.LCD
Description
Basic demo of an Hitachi HD44780 LCD
Documentation
hitachi :: LCDController Source #
Connections for a basic hitachi controller. See http://en.wikipedia.org/wiki/Hitachi_HD44780_LCD_controller for pin layout. For this demo, simply connect the LCD pins to the Arduino as follows:
- LCD pin
01to GND - LCD pin
02to +5V - LCD pin
03to a 10K potentiometer's viper - LCD pin
04to Arduino pin12 - LCD pin
05to GND - LCD pin
06to Arduino pin11 - LCD pin
11to Arduino pin5 - LCD pin
12to Arduino pin4 - LCD pin
13to Arduino pin3 - LCD pin
14to Arduino pin2 - [If backlight is needed] LCD pin
15to +5V - [If backlight is needed] LCD pin
16to GND via 220ohm resistor

The happy glyph. See lcdCreateSymbol for details on how to create new ones.
The sad glyph. See lcdCreateSymbol for details on how to create new ones.