ICRS Eurobot 2013
Dependencies: mbed mbed-rtos Servo QEI
Diff: Sensors/Colour/Led.h
- Revision:
- 7:4340355261f9
- Parent:
- 6:995b3679155f
- Child:
- 10:1f0cf0182067
--- a/Sensors/Colour/Led.h Fri Apr 05 15:45:00 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -#ifndef __led_h__ -#define __led_h__ - -//Eurobot13 Led.h - -#include"mbed.h" - -class Led{ - private: - DigitalOut led; - public: - Led(PinName digitalPin): led(digitalPin){ }; - - void on(){ - led = 1; - } - - void off(){ - led = 0; - } -}; - -#endif