Snake game for a 5x5 LED matrix

Dependencies:   MCP23S17 mbed

Committer:
dhamilton31
Date:
Thu Oct 17 22:09:22 2013 +0000
Revision:
2:9c075a0a6d4e
Parent:
1:5fcb94bb03db
Changed one stupid thing (cube) to (*cube) and it worked :P

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dhamilton31 0:dc906408980e 1 #ifndef __BODYPIECE_H__ // if x.h hasn't been included yet...
dhamilton31 0:dc906408980e 2 #define __BODYPIECE_H__ // #define this so the compiler knows it has been included
dhamilton31 0:dc906408980e 3
dhamilton31 0:dc906408980e 4
dhamilton31 1:5fcb94bb03db 5 typedef
dhamilton31 1:5fcb94bb03db 6 struct{
dhamilton31 1:5fcb94bb03db 7 char currRow;
dhamilton31 1:5fcb94bb03db 8 char currCol;
dhamilton31 1:5fcb94bb03db 9 }bodyPiece;
dhamilton31 0:dc906408980e 10
dhamilton31 0:dc906408980e 11 #endif // __BODYPIECE_H__