Alex Allen / Mbed 2 deprecated Balloon

Dependencies:   UM12 mbed

Revision:
0:feaa05d35ccf
diff -r 000000000000 -r feaa05d35ccf flash/flash.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flash/flash.h	Wed Mar 07 20:02:35 2012 +0000
@@ -0,0 +1,32 @@
+#ifndef FLASHY
+
+    /* Lights up each LED in turn starting from the left going 
+       to the right and then back again */
+    void lightup();
+
+    // 5 second timer counting down on LEDs
+    void timer();
+
+    /* flashes all LEDs on and off at once "times" number of time
+       with a gap of "gap" seconds between flashes */
+    void flash(int times, float gap);
+    
+    // Single flash on led1 for "gap" seconds
+    void flash1(float gap);
+
+    // Single flash on led1 for "gap" seconds
+    void flash2(float gap);
+
+    /* inifite loop indicating something has failed terminally
+       and mbed needs reseting. Flashes outer then inner LEDs */
+    void errormsg1(float gap);
+    
+    /* inifite loop indicating something has failed terminally
+       and mbed needs reseting. Flashes outer then inner LEDs */
+    void errormsg2(float gap);
+    
+    // LEDs light up one at a time until all are lit
+    void signal(float gap);
+
+    #define FLASHY 1
+#endif
\ No newline at end of file