elec350

Dependencies:   mbed

Fork of elec350 by Bob Merrison-Hort

Revision:
15:c1362c12a896
Parent:
7:aa63d1e53be6
--- a/led.h	Thu Oct 22 08:40:54 2015 +0000
+++ b/led.h	Tue Nov 10 20:12:21 2015 +0000
@@ -8,10 +8,13 @@
     private:
         PinName pinName;
         DigitalOut* pin;
+        bool isOn;
     public:
         Led(string name);
         void On();
         void Off();
+        bool getIsOn();
 };
 
-#endif
\ No newline at end of file
+#endif
+