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
Diff: main.cpp
- Revision:
- 8:bf4f93602b8b
- Parent:
- 5:e6cb6fda5b37
--- a/main.cpp Sun Apr 28 12:41:56 2019 +0000
+++ b/main.cpp Mon Apr 29 12:37:00 2019 +0000
@@ -18,6 +18,10 @@
void start_screen();
int main(){
+ // DELETE LATER
+ // lcd.setBrightness(1.0);
+ // lcd.setContrast(0.4);
+ // ^^^^^^^^
int fps = 6;
init();
start_screen();
@@ -28,6 +32,7 @@
render();
game.dirmag(pad);
game.movement(pad);
+ game.allCollisions(lcd,pad);
wait(1.0f/fps);
}