Version of Robotron arcade game using LPC1768, a Gameduino shield, a serial EEPROM (for high scores), two microswitch joysticks and two buttons plus a box to put it in. 20 levels of mayhem.
Dependencies: 25LCxxx_SPI CommonTypes Gameduino mbed
Diff: Level0.cpp
- Revision:
- 4:673eb9735d44
- Parent:
- 3:a6a0cd726ca0
- Child:
- 5:0b0651ac7832
--- a/Level0.cpp Fri Jun 07 20:29:59 2013 +0000 +++ b/Level0.cpp Sat Jun 08 11:24:05 2013 +0000 @@ -6,10 +6,10 @@ */ #include "Level0.h" -#if 0 - #include "CharBlocks.h" - #include "EEPROMDump.h" -#endif +#include "CharBlocks.h" + +// REMOVE THIS! +extern Serial pc; /***************/ /* CONSTRUCTOR */ @@ -82,7 +82,6 @@ DrawHighScores(); } } - #if 0 // Must have a player with non-NULL controls. PanelControls *controls; if( @@ -99,9 +98,9 @@ do { controls->Read(); inputs = controls->GetInputs(); - } while( inputs == 0 ); + pc.printf( "Inputs = %04X\r\n", (int)inputs ); + } while( true /* inputs == 0 */ ); } - #endif } return Completed; }