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: 4DGL-uLCD-SE DRV2605 EthernetInterface Game_Synchronizer MMA8452 SDFileSystem SparkfunAnalogJoystick mbed-rtos mbed wave_player
Fork of 2035_Tanks_Shell by
Diff: main.cpp
- Revision:
- 16:b73f0842d3cd
- Parent:
- 15:4b27a3a95772
- Child:
- 17:7bc7127782e4
diff -r 4b27a3a95772 -r b73f0842d3cd main.cpp
--- a/main.cpp Mon Oct 26 04:12:35 2015 +0000
+++ b/main.cpp Tue Oct 27 18:10:03 2015 +0000
@@ -57,7 +57,7 @@
sync.filled_rectangle(59, 20, 69, 60, BLACK);
sync.locate(0,0);
sync.textbackground_color(SKY_COLOR);
- sync.puts("Pocket Tanks 2035", sizeof("Pocket Tanks 2035"));
+ sync.puts("Pocket Tanks 2035");
sync.update();
}
@@ -139,7 +139,7 @@
while(1) {
sync.cls();
sync.locate(i, 6);
- sync.puts("GAME OVER!\n", sizeof("GAME OVER!\n"));
+ sync.puts("GAME OVER!\n");
sync.update();
(++i) %= 10;
wait(0.1);
