A sample of SFE's ColorLCDShield library demonstrating Conway's Game of Life
Dependencies: ColorLCDShield mbed
Diff: main.cpp
- Revision:
- 1:eed4416d3359
- Parent:
- 0:bc852e1d0b48
diff -r bc852e1d0b48 -r eed4416d3359 main.cpp --- a/main.cpp Sun Jun 09 05:04:32 2013 +0000 +++ b/main.cpp Sun Feb 22 17:18:04 2015 +0000 @@ -44,6 +44,10 @@ } void setup() { + sw1.mode(PullUp); + sw2.mode(PullUp); + sw3.mode(PullUp); + lcd.init(PHILIPS); lcd.contrast(-63); lcd.clear(0x444);