Snake game for a 5x5 LED matrix

Dependencies:   MCP23S17 mbed

Revision:
2:9c075a0a6d4e
Parent:
1:5fcb94bb03db
--- a/ledCube.h	Thu Oct 17 04:32:58 2013 +0000
+++ b/ledCube.h	Thu Oct 17 22:09:22 2013 +0000
@@ -3,7 +3,9 @@
 
 #ifndef LEDCUBE_H
 #define LEDCUBE_H
-
+/*
+ Class to represent the LED cube as a whole. Can light and select LEDs
+*/
 class ledCube
 {
 public:
@@ -15,10 +17,10 @@
     void turnOnLed(char row, char column, char layer);
     void turnOffLed(char row, char column, char layer);
     void blink();
+    unsigned char spiCurrentlyLit;
 
 private:
     DigitalOut *lastLedLit;
-    int spiCurrentlyLit;
 };
 
 #endif //LEDCUBE_H
\ No newline at end of file