Colour sensors calibrated

Dependencies:   mbed-rtos mbed Servo QEI

Fork of ICRSEurobot13 by Thomas Branch

Revision:
1:8119211eae14
Parent:
0:200635fa1b08
Child:
2:45da48fab346
--- a/Actuators/MainMotor/MainMotor.h	Fri Mar 29 11:35:34 2013 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-
-// Eurobot13 MainMotor.h
-
-#include "mbed.h"
-
-class MainMotor{
-    private:
-    PwmOut PWM1;
-    PwmOut PWM2;
-    
-    public:
-    MainMotor(PinName pin1, PinName pin2) : PWM1(pin1), PWM2(pin2){
-    }
-    
-    void operator()(float in){
-        power(in);
-    }
-    
-    void power(float power){
-        if( power > 0 ){
-            PWM1 = power;
-            PWM2 = 0;
-        } else {
-            PWM1 = 0;
-            PWM2 = -power;    
-        }
-    }
-
-};
\ No newline at end of file