Snake game for a 5x5 LED matrix
Diff: main.h
- Revision:
- 1:5fcb94bb03db
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.h Thu Oct 17 04:32:58 2013 +0000 @@ -0,0 +1,14 @@ +// Function prototypes + +void updateSnakeLeds(); +void updateFoodLed(); +bool checkForSnakeEating(); +void updateDirectionInput(); + +// constants + +#define snakeStartCol 0 +#define snakeStartRow 0 + +#define foodStartCol 2 +#define foodStartRow 0