Code for the space evader game.
Dependencies: N5110 PowerControl mbed
Diff: joystick.h
- Revision:
- 1:225522d0dd77
- Parent:
- 0:dd6685f1343e
--- a/joystick.h Sun May 10 16:48:46 2015 +0000 +++ b/joystick.h Mon May 11 11:44:51 2015 +0000 @@ -3,6 +3,7 @@ @brief Header file containing functions prototypes, defines and global variables. @brief Joystick header file, with modification from original file @brief CHANGEME_H_ and endif added to prevent header file error https://developer.mbed.org/cookbook/Compiler-Error-256 +@brief Original code https://developer.mbed.org/users/eencae/code/Joystick/ @author Craig A. Evans (Original author) @author Dominic J. Platt (Modifications labelled) @date April 2015 @@ -58,6 +59,7 @@ /*! values of 1,0,-1 for each element e.g. the matrix of {-1,0} will mean direction is -1 in x directions and 0 in the y direction + property added by Dominic Platt */ int direction[2]; // current direction x,y used /*@}*/