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:
6:b7826fcb369b
Parent:
5:1e36a6806e12
Child:
7:5f7e329a4650
--- a/LEDout.h	Wed Sep 05 06:55:27 2012 +0000
+++ b/LEDout.h	Wed Sep 05 07:04:16 2012 +0000
@@ -1,6 +1,6 @@
-#include "mbed.h"
 #ifndef LEDOUT_H
 #define LEDOUT_H
+#include "mbed.h"
 
 /**Library to show error code with MBED leds.
 *@file LEDout.h
@@ -29,7 +29,7 @@
 
 class LEDout : public BusOut
 {
-public:
+    public:
     /** Create a LEDout object
     */
 
@@ -44,6 +44,7 @@
     *  @param cnt how many times to blink
     *  @param dur blink interval default 0.2sec
     */
+   
     void blink(int cmd,int cnt, float dur=0.2) {// parallel process
         _cmd=0;
         _dur=0;