Device to measure angle and get IMU measurements.

Dependencies:   mbed commands BLE_API nRF51822

Revision:
8:c6345e8d607c
Parent:
6:75263c93daf7
--- a/Controller.h	Sun Jun 07 21:59:02 2015 +0000
+++ b/Controller.h	Thu Jun 11 20:59:22 2015 +0000
@@ -4,21 +4,35 @@
 #include "Sensors.h"
 #include "Storage.h"
 
+#include "BLEDevice.h"
+#include "GonioService.h"
+
 
 class Controller {
   
   std::vector<Command*> modeList;
-  int currentMode;
+  int currentModeSelector;
+  bool buttonIntFlag;
+  bool imuIntFlag;
+  bool tickerIntFlag;
+  bool tickerIntDataFlag;
+  bool peak;
+  
+  int16_t angle;
   Sensors* sensors;
   Storage* storage;
+  GonioService* gonioService;
   
   public:
   
   Controller();
-  
+  void disconnect();
   void setCommand(int);
   void buttonInt();
-  void imuInt();    
-  
+  void imuInt();  
+  void tickerInt();    
+  void tickerDataInt();
+
+  Command* currentMode();
   void run();
 };
\ No newline at end of file