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: PokittoLib
Fork of Asterocks by
Diff: main.cpp
- Revision:
- 4:46e28b959b54
- Parent:
- 0:2d2a3994d55d
--- a/main.cpp Wed Oct 11 23:03:48 2017 +0000
+++ b/main.cpp Thu Oct 12 10:45:15 2017 +0000
@@ -1,13 +1,18 @@
#include "Pokitto.h"
-Pokitto::Core mygame;
+Pokitto::Core aster;
+
+int main()
+{
+ aster.begin();
+
+ setup();
-int main () {
- mygame.begin();
- while (mygame.isRunning()) {
- if (mygame.update()) {
- mygame.display.print("I feel good!!");
- }
- }
-
-}
\ No newline at end of file
+ while( aster.isRunning() )
+ {
+ loop();
+ }
+}
+
+
+
