Snake game for a 5x5 LED matrix

Dependencies:   MCP23S17 mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers bodyPiece.h Source File

bodyPiece.h

00001 #ifndef __BODYPIECE_H__   // if x.h hasn't been included yet...
00002 #define __BODYPIECE_H__   //   #define this so the compiler knows it has been included
00003 
00004 
00005 typedef
00006 struct{
00007         char currRow;
00008         char currCol;
00009 }bodyPiece;
00010 
00011 #endif // __BODYPIECE_H__