elec350

Dependencies:   mbed

Fork of elec350 by Bob Merrison-Hort

Revision:
0:753cf4c2738f
Child:
7:aa63d1e53be6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/led.h	Tue Oct 13 01:10:14 2015 +0000
@@ -0,0 +1,17 @@
+#ifndef _LED_H_
+#define _LED_H_
+
+#include "mbed.h"
+#include <string>
+
+class Led {
+    private:
+        PinName pinName;
+        DigitalOut* pin;
+    public:
+        Led(string name);
+        void SwitchOn();
+        void SwitchOff();
+};
+
+#endif
\ No newline at end of file