The preloaded firmware shipped on the RETRO
Dependencies: mbed
Main.cpp@2:6ab46f2e851a, 2014-11-21 (annotated)
- Committer:
- john_ghielec
- Date:
- Fri Nov 21 20:13:10 2014 +0000
- Revision:
- 2:6ab46f2e851a
- Parent:
- 1:cd8a3926f263
Added an accelerometer graph when you press the robot.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
john_ghielec | 0:21669ea33448 | 1 | #include "mbed.h" |
john_ghielec | 0:21669ea33448 | 2 | |
john_ghielec | 1:cd8a3926f263 | 3 | #include "Game.h" |
john_ghielec | 0:21669ea33448 | 4 | |
john_ghielec | 0:21669ea33448 | 5 | int main() { |
john_ghielec | 1:cd8a3926f263 | 6 | Game game; |
john_ghielec | 1:cd8a3926f263 | 7 | |
john_ghielec | 1:cd8a3926f263 | 8 | game.showSplashScreen(); |
john_ghielec | 0:21669ea33448 | 9 | |
john_ghielec | 2:6ab46f2e851a | 10 | while (true) |
john_ghielec | 1:cd8a3926f263 | 11 | game.tick(); |
john_ghielec | 0:21669ea33448 | 12 | } |