working commands. singleton deleted

Dependents:   GonioTrainer

Revision:
0:e188325211af
Child:
1:fd4c0e2decb8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ReadCommand.h	Thu Jun 04 10:56:18 2015 +0000
@@ -0,0 +1,32 @@
+#ifndef _READCOMMAND_H_
+#define _READCOMMAND_H_
+
+#include "mbed.h"
+#include "Command.h"
+#include "Storage.h"
+#include "Sensors.h"
+
+
+class ReadCommand : public Command {
+     
+Storage* storage;
+Sensors* sensors;
+uint8_t angle_H;
+uint8_t angle_L;
+uint8_t imu_H;
+uint8_t imu_L;
+
+volatile bool running;
+volatile int32_t addr;
+
+public:
+ReadCommand();
+virtual void initialize();
+virtual void execute();
+virtual void button(); 
+virtual void finish();
+void readFromMemory();  
+    
+};
+
+#endif /* _READCOMMAND_H_ */
\ No newline at end of file