Skip to content

Instantly share code, notes, and snippets.

View rsenn's full-sized avatar

Roman Senn rsenn

  • Freiwillig im Einsatz für die Städtische Neophytenbekämpfung Bern
  • Bern, Switzerland (CH)
View GitHub Profile
@thedod
thedod / lcd_truck_lane.pde
Created November 25, 2010 11:54
Simple Arduino car game for a 16x2 LCD display (Hitachi HD44780 or clone)
/* 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,