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:
- 22:69d7fe739872
- Parent:
- 20:9d21599fe350
diff -r a0904159e183 -r 69d7fe739872 main.cpp
--- a/main.cpp Tue Apr 30 13:17:14 2019 +0000
+++ b/main.cpp Tue Apr 30 20:36:42 2019 +0000
@@ -15,11 +15,13 @@
#include "Bat.h"
#include "Cricket.h"
+
N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11);
Gamepad mainpad;
Cricket cricket;
+
void init();
void welcome();
@@ -29,10 +31,9 @@
int main(){
int fps=14;
init();
-
+ cricket.intro(lcd);
//welcome();
//draw();
-
while(1){
cricket.game(lcd,mainpad);