Space invaders with a nRF2401A wireless joypad

Dependencies:   Gameduino mbed nRF2401A

Fork of Gameduino_Invaders_game by Chris Dick

Gameduino and an nRF2401A hooked up to an mbed on an mbeduino:

/media/uploads/TheChrisyd/2014-03-08_22.53.54.jpg

Committer:
TheChrisyd
Date:
Sun Mar 09 12:27:20 2014 +0000
Revision:
5:3ede9991d8e0
Parent:
2:20a89dc286d5
Update to match Library update

Who changed what in which revision?

UserRevisionLine numberNew contents of line
TheChrisyd 2:20a89dc286d5 1 //#include <SPI.h>
TheChrisyd 2:20a89dc286d5 2 #include "GD.h"
TheChrisyd 2:20a89dc286d5 3 #include "joystick.h"
TheChrisyd 2:20a89dc286d5 4 #include "shield.h"
TheChrisyd 2:20a89dc286d5 5 #include "mbed.h"
TheChrisyd 2:20a89dc286d5 6 #include "arduino.h"
TheChrisyd 2:20a89dc286d5 7 /*---------------------------------------------
TheChrisyd 2:20a89dc286d5 8 Data types
TheChrisyd 2:20a89dc286d5 9 ---------------------------------------------*/
TheChrisyd 2:20a89dc286d5 10 typedef char int8;
TheChrisyd 2:20a89dc286d5 11
TheChrisyd 2:20a89dc286d5 12 /*---------------------------------------------
TheChrisyd 2:20a89dc286d5 13 Header files
TheChrisyd 2:20a89dc286d5 14 ---------------------------------------------*/
TheChrisyd 2:20a89dc286d5 15 #include "utils.h"
TheChrisyd 2:20a89dc286d5 16 #include "graphics.h"
TheChrisyd 2:20a89dc286d5 17 #include "sound.h"
TheChrisyd 2:20a89dc286d5 18
TheChrisyd 2:20a89dc286d5 19 /*---------------------------------------------
TheChrisyd 2:20a89dc286d5 20 Game functions
TheChrisyd 2:20a89dc286d5 21 ---------------------------------------------*/
TheChrisyd 2:20a89dc286d5 22 void initGame(); // Called once from setup()
TheChrisyd 2:20a89dc286d5 23 void updateGame(); // Called from loop() to update the game
TheChrisyd 2:20a89dc286d5 24
TheChrisyd 2:20a89dc286d5 25 extern Joystick joystick;