Colour sensors calibrated

Dependencies:   mbed-rtos mbed Servo QEI

Fork of ICRSEurobot13 by Thomas Branch

Revision:
5:56a5fdd373c9
Parent:
4:1be0f6c6ceae
Child:
6:995b3679155f
Child:
8:69bdf20cb525
--- a/Actuators/Actuator.h	Wed Apr 03 17:54:53 2013 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-#ifndef __Actuator_h__
-#define __Actuator_h__
-// Eurobot13 Actuator.h
-
-#include "mbed.h"
-
-class Actuator {
-    private:
-    static Actuator *Head; // Actuator.cpp
-    Actuator *next;
-    
-    public:
-    Actuator(){
-        next = NULL;
-        if (Head == NULL){
-            Head = this;
-        } else {
-            Actuator* nxt = Head;
-            for(;nxt->next != NULL; nxt = nxt->next);
-            nxt->next = this;
-        }
-    } 
-    
-    virtual void halt (void) = 0;
-    
-    static void haltandCatchFire(void){
-        DigitalOut myled(LED1);
-        myled = 1;
-        //halt
-        for(Actuator* nxt = Head; nxt != NULL; nxt = nxt->next){
-            nxt->halt();
-        }   
-        //catchFire
-        while(true);
-    }
-
-
-};
-
-#endif
\ No newline at end of file