AirsoftTimer software based on mbed

Dependencies:   mbed TextLCD keypad

Revision:
17:19dbb1dbb640
Parent:
14:e0bfee0a5e66
Child:
19:2eba101d9c2c
--- a/Airsofttimer.cpp	Sat May 23 18:36:54 2015 +0000
+++ b/Airsofttimer.cpp	Sat May 23 20:17:54 2015 +0000
@@ -12,6 +12,7 @@
 //    lcdPins      = {P1_31, P1_30, P0_23, P0_24, P0_23, P0_26};   // E=P1.31, RS=P1.30, D4=P0.23 -> D7=P0.26
 
 Airsofttimer::Airsofttimer(Pinouts pinouts){
+    printf("--- AirsoftTimer startup ---\r\n");
     board = new Board(pinouts);   
     init();
     start();
@@ -28,7 +29,7 @@
     board->buzzer->startupBeep();
     board->lcd->cls();
     board->lcd->showLogo(LOGO);
-    wait(5.0);
+    wait(3.0);
     board->lcd->cls(); 
 }
 
@@ -46,6 +47,5 @@
 // show a list of games, and select one
 int Airsofttimer::select_game(){
     GameSelector* selector = new GameSelector(board);
-    //selector->run(); // ShowBuzzer game ftw !
-    return 0;
+    return selector->select();
 }
\ No newline at end of file