BlinkLib

Dependents:   NerfUS_fork

Revision:
2:f79b839d4047
diff -r 77124b36cdd4 -r f79b839d4047 source/MbedBlinker.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/source/MbedBlinker.cpp	Thu Feb 16 10:48:34 2017 -0500
@@ -0,0 +1,14 @@
+#include "MbedBlinker.hpp"
+
+MbedBlinker::MbedBlinker(DigitalOut led) :
+    led(led)
+{
+}
+
+void MbedBlinker::blink()
+{
+    led = 1;
+    wait(0.2);
+    led = 0;
+    wait(0.2);
+}
\ No newline at end of file