Snake game for a 5x5 LED matrix

Dependencies:   MCP23S17 mbed

main.h

Committer:
dhamilton31
Date:
2013-10-17
Revision:
1:5fcb94bb03db

File content as of revision 1:5fcb94bb03db:

// Function prototypes

void updateSnakeLeds();
void updateFoodLed();
bool checkForSnakeEating();
void updateDirectionInput();

// constants

#define snakeStartCol 0
#define snakeStartRow 0

#define foodStartCol 2
#define foodStartRow 0