Tyler Weaver
/
qp_hangman
Hangman game using qp a 16x2 LCD and joystick.
main.cpp@0:1521c946a57b, 2012-02-08 (annotated)
- Committer:
- tylerjw
- Date:
- Wed Feb 08 22:20:11 2012 +0000
- Revision:
- 0:1521c946a57b
- Child:
- 1:4efaebc256d3
Problems with lib/qp, please help!
Player class hasn\t been developed yet.
BSP is still missing some features.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tylerjw | 0:1521c946a57b | 1 | #include "mbed.h" |
tylerjw | 0:1521c946a57b | 2 | |
tylerjw | 0:1521c946a57b | 3 | DigitalOut myled(LED1); |
tylerjw | 0:1521c946a57b | 4 | |
tylerjw | 0:1521c946a57b | 5 | int main() { |
tylerjw | 0:1521c946a57b | 6 | while(1) { |
tylerjw | 0:1521c946a57b | 7 | myled = 1; |
tylerjw | 0:1521c946a57b | 8 | wait(0.2); |
tylerjw | 0:1521c946a57b | 9 | myled = 0; |
tylerjw | 0:1521c946a57b | 10 | wait(0.2); |
tylerjw | 0:1521c946a57b | 11 | } |
tylerjw | 0:1521c946a57b | 12 | } |