Library to show error code with MBED leds. Decimal error code 1-15 can be set

Dependencies:   mbed

This library can show Your error code (integer 1-15) on MBED Leds.

Revision:
0:3e7de538b366
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Sep 05 06:16:31 2012 +0000
@@ -0,0 +1,23 @@
+#include "mbed.h"
+#include "LEDout.h"
+
+
+int main()
+{
+    LEDout led;
+
+    led.blink(15,20);//Blink code 15, 20times, //noblocking, so code can continue
+    for(int k=0; k<10; k++){
+        printf("printing while blinking ;) \n");
+        wait(1);
+    }
+
+
+    wait(2);
+
+    led.blinks(1,3);//blocking, code 1, 3 blinks, code will not continue  until blinks done
+    led.blinkSet(2,3);//blocking, code stops here, blinks will continue blinking
+
+
+    return 0;
+}
\ No newline at end of file