working commands. singleton deleted

Dependents:   GonioTrainer

Revision:
2:c9e47ac47edb
Parent:
1:fd4c0e2decb8
Child:
4:f81029197ab2
--- a/ReadCommand.h	Sun Jun 07 14:11:14 2015 +0000
+++ b/ReadCommand.h	Sun Jun 07 17:49:23 2015 +0000
@@ -10,17 +10,12 @@
 class ReadCommand : public Command {
      
 Storage* storage;
-Sensors* sensors;
-uint8_t angle_H;
-uint8_t angle_L;
-int8_t imu_H;
-int8_t imu_L;
 
 volatile bool running;
 volatile int32_t addr;
 
 public:
-ReadCommand();
+ReadCommand(Storage* storage);
 virtual void initialize();
 virtual void execute();
 virtual void button();