AirsoftTimer software based on mbed

Dependencies:   mbed TextLCD keypad

Revision:
11:50572814f73e
Parent:
5:be598835bab0
--- a/board/Leds.h	Sun Dec 14 11:50:19 2014 +0000
+++ b/board/Leds.h	Wed Dec 31 15:27:43 2014 +0000
@@ -8,9 +8,18 @@
     PinName right;
 };
 
+
+
 class Leds{
     
     public:
+    enum LedName {LEFT = 0, RIGHT = 1, ALL = 2};
     Leds(PinName leftPin, PinName rightPin);
+    void on(Leds::LedName ledname);
+    void off(Leds::LedName ledname);
+    
+    private: 
+    DigitalOut leftLed;
+    DigitalOut rightLed;
 };
 #endif
\ No newline at end of file