This is for our FYDP project. 2 MPU6050s are used

Dependencies:   Servo mbed

Revision:
0:21019d94ad33
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/motors/motors.h	Sat Mar 21 21:31:29 2015 +0000
@@ -0,0 +1,24 @@
+#ifndef MOTORS_H
+#define MOTORS_H
+
+#include "mbed.h"
+#include "TB6612.h"
+
+class Motors
+{
+    private:
+        
+    void stop(void const *args);
+    
+    public:    
+    
+    TB6612 * Left;
+    TB6612 * Right;        
+    DigitalOut enable;
+    
+    Motors(TB6612 * L, TB6612 * R, PinName STBY);
+    
+    void flip();                
+    void reverse(bool m);   //reverse one of the motors (0=right, 1=left) 
+};
+#endif
\ No newline at end of file