Snake game for a 5x5 LED matrix
ledCube.h
- Committer:
- dhamilton31
- Date:
- 2013-10-09
- Revision:
- 0:dc906408980e
- Child:
- 1:5fcb94bb03db
File content as of revision 0:dc906408980e:
#include "mbed.h" class ledCube{ public: DigitalOut *ledArray[5][5]; int numRows, numCols; ledCube(); void lightLed(char row, char column, char layer); void drawHorLine(char startRow, char startCol, char endRow, char endCol); void turnOffLed(char row, char column, char layer); private: DigitalOut *lastLedLit; };