This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Simple Car game for a 16x2 LCD display | |
You can use any Hitachi HD44780 compatible LCD. | |
Wiring explained at http://www.arduino.cc/en/Tutorial/LiquidCrystal | |
(I used theLCD Electronic Brick on bus 1: | |
rs on pin 2, rw on pin 3, enable on pin 4, | |
data on pins 5,6,7,8) | |
There's also a "steering wheel" potentiometer on analog input 1, | |
and a Piezo speaker on pin 9 (PWM). | |
Enjoy, |