Tuan Le / Mbed 2 deprecated AccelerometerProject

Dependencies:   MMA8452 N5110 PowerControl beep mbed

Revision:
5:c0a58a6916f2
Parent:
3:1974db5993ef
Child:
7:95abf8c8af1e
--- a/Accel-cize.cpp	Mon May 04 21:14:23 2015 +0000
+++ b/Accel-cize.cpp	Tue May 05 22:32:07 2015 +0000
@@ -1,11 +1,10 @@
 #include "MMA8452Test.h"
-#include "PowerControl/PowerControl.h"
 #include "GameFSM.h"
 
 AnalogIn adjust(p20);
 Timer t;
 FSM program;
-
+Menu wel;
 int main()
 {
     Test init;
@@ -15,12 +14,12 @@
     ButtonD.rise(&BuDPress);
     ButtonA.rise(&BuAPress);
     ButtonB.rise(&BuBPress);
-
+    wel.welcome();   
     while(1) {
         lcd.setBrightness(adjust);
 
         program.proact();
-        
+
         //////// Timer for the mbed go to sleep mode when waiting for 2 mins ////////
         /*resetButton();
         if ((BuAFlag || BuBFlag || BuDFlag || BuUFlag) == 0) {