ese519

Dependencies:   MRF24J40 mbed-rtos mbed

Revision:
0:ef293aec3a85
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Actuator.h	Sat Mar 21 02:52:43 2015 +0000
@@ -0,0 +1,23 @@
+#include "mbed.h"
+class Actuator{
+    private:
+        int m;
+        int index;
+        PwmOut motor;
+        Timeout to;
+    
+    public:
+        Actuator(int m_, int index_, PwmOut motor_, Timeout to_);
+        virtual ~Actuator();
+        int getM();
+        int getIndex();
+        PwmOut getMotor();
+        Timeout getTo();
+        void setM(int m);
+        void setIndex(int idx);
+        void setMotor(double pw);
+        
+        void shot();
+        //void updateMotor();
+    
+    };
\ No newline at end of file