Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Led/Led.h
- Revision:
- 0:f37ec9490923
diff -r 000000000000 -r f37ec9490923 Led/Led.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Led/Led.h Thu Oct 22 10:46:46 2015 +0000
@@ -0,0 +1,19 @@
+#ifndef LED_H
+#define LED_h
+
+#include "mbed.h"
+#include <string>
+
+class Led
+{
+ private:
+ PinName pin;
+ DigitalOut *l;
+
+ public:
+ Led(string s);
+ void On();
+ void Off();
+};
+
+#endif
\ No newline at end of file