Classic Snake game for RETRO
Revision 1:52a4c894086e, committed 2015-01-12
- Comitter:
- Architect
- Date:
- Mon Jan 12 20:23:34 2015 +0000
- Parent:
- 0:5160597f3364
- Commit message:
- Removed USBDevice since it is not needed
Changed in this revision
USBDevice.lib | Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/USBDevice.lib Mon Jan 12 20:18:06 2015 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/mbed_official/code/USBDevice/#1dbc943a21cf
--- a/main.cpp Mon Jan 12 20:18:06 2015 +0000 +++ b/main.cpp Mon Jan 12 20:23:34 2015 +0000 @@ -1,15 +1,12 @@ #include "mbed.h" #include "DisplayN18.h" #include "Timer.h" -#include "USBSerial.h" //Display is 128x160 #define SQUARE_SIZE 3 #define COLUMNS 40 #define ROWS 32 -USBSerial serial; - DigitalIn left(P0_14, PullUp); DigitalIn right(P0_11, PullUp); DigitalIn down(P0_12, PullUp);