Final Version from RoboticHackathon 4.-5. April 2015

Dependencies:   Autopilot dillerdasker Rfid mbed

Fork of RoboticHackathon2 by Mathias Lyngklip

Revision:
1:e854d5c12659
Child:
2:b996c95912b5
diff -r 47165eb4e54d -r e854d5c12659 hack_motor.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hack_motor.h	Sat Apr 05 11:26:42 2014 +0000
@@ -0,0 +1,36 @@
+#ifndef HACK_MOTOR_H
+#define HACK_MOTOR_H
+#include "mbed.h"
+
+class Wheel {
+ 
+public:
+    PwmOut M1A, M2A;
+    PwmOut GrabA;
+    PwmOut HejsA;
+    
+    DigitalOut M1B, M2B, GrabB, HejsB;
+    
+    Wheel();
+    void FW();
+    void BW();
+    void right();
+    void left();
+    void stop();
+    void init();
+    void open();
+    void close();
+    void hejs();
+    void saenk();
+    void venSelv1();
+    void venSelv2();
+    float speed;
+    
+protected:
+    float fw, bw;
+    
+};
+
+    
+
+#endif
\ No newline at end of file