Henk Meewis / Mbed 2 deprecated frdm_echo

Dependencies:   mbed

Revision:
7:19da09fe546b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LEDColors.h	Mon Apr 14 03:04:28 2014 +0000
@@ -0,0 +1,17 @@
+#ifndef ledcolors__h__
+#define ledcolors__h__
+
+class LEDColors {
+public:
+    LEDColors();
+    void tick10ms();
+    void flashRed(uint32_t);
+    void flashBlue(uint32_t);
+    void flashGreen(uint32_t);
+    void flashWhite(uint32_t);
+private:
+    DigitalOut *ledRed, *ledBlue, *ledGreen;
+    uint32_t redTimer, blueTimer, greenTimer;
+};
+
+#endif
\ No newline at end of file