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 1:5fcb94bb03db 1 // Function prototypes
dhamilton31 1:5fcb94bb03db 2
dhamilton31 1:5fcb94bb03db 3 void updateSnakeLeds();
dhamilton31 1:5fcb94bb03db 4 void updateFoodLed();
dhamilton31 1:5fcb94bb03db 5 bool checkForSnakeEating();
dhamilton31 1:5fcb94bb03db 6 void updateDirectionInput();
dhamilton31 1:5fcb94bb03db 7
dhamilton31 1:5fcb94bb03db 8 // constants
dhamilton31 1:5fcb94bb03db 9
dhamilton31 1:5fcb94bb03db 10 #define snakeStartCol 0
dhamilton31 1:5fcb94bb03db 11 #define snakeStartRow 0
dhamilton31 1:5fcb94bb03db 12
dhamilton31 1:5fcb94bb03db 13 #define foodStartCol 2
dhamilton31 1:5fcb94bb03db 14 #define foodStartRow 0