Dinko Djakovic - Flasher, upotreba klase

Dependencies:   Flasher mbed

Revision:
0:19c321c0fdb3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri May 22 17:22:32 2015 +0000
@@ -0,0 +1,22 @@
+#include "mbed.h"
+#include "Flasher.h"
+Flasher led(LED2);
+int main() {
+    while(1){
+led.flash(5);
+wait(1);
+led.flash(2);
+wait(1);
+led.flash(3);
+wait(1);
+led.flash(7);
+wait(1);
+led.flash(1);
+wait(1);
+led.flash(2);
+wait(1);
+led.flash(2);
+wait(1);
+led.flash(1);
+}
+}
\ No newline at end of file