Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed N5110 ShiftReg PinDetect
Diff: Resources.h
- Revision:
- 16:caf613d5b85e
- Parent:
- 15:d5eb13c4c1c6
- Child:
- 17:d6a3b29cab31
diff -r d5eb13c4c1c6 -r caf613d5b85e Resources.h --- a/Resources.h Sun May 10 09:37:51 2015 +0000 +++ b/Resources.h Sun May 10 13:14:33 2015 +0000 @@ -36,7 +36,7 @@ {1,0,1} }; - const int Enemy1[5][5] = { + const int EnemySimple[5][5] = { {1,1,0,0,0}, {1,1,1,1,0}, {0,0,1,0,0}, @@ -51,6 +51,15 @@ {0,1,1,1,1,0}, {0,1,0,0,1,0} }; + + /// Contains numbers from 0-9. Each number has the size 3 x 5 pixels + const int Numbers[5][30] = { + {1,1,1,0,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1}, + {1,0,1,1,1,0,0,0,1,0,0,1,1,0,1,1,0,0,1,0,0,0,0,1,1,0,1,1,0,1}, + {1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1}, + {1,0,1,0,1,0,1,0,0,0,0,1,0,0,1,0,0,1,1,0,1,0,0,1,1,0,1,0,0,1}, + {1,1,1,0,1,0,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,0,0,1,1,1,1,0,0,1} + }; } #endif \ No newline at end of file