Jamie Bowen / Mbed 2 deprecated RGBLED_K64F_6COLOURS

Dependencies:   mbed

Fork of RGBLED by Steven Cheldelin

Revision:
1:a43483907ce0
Parent:
0:7c0b6a649748
--- a/rgbled.h	Mon Jun 09 14:17:39 2014 +0000
+++ b/rgbled.h	Thu Jan 29 08:42:26 2015 +0000
@@ -5,7 +5,7 @@
 #include "mbed.h"
 
 // defines
-enum color {none, red, green, blue};
+enum color {none, red, yellow, green, cyan, blue, magenta};
 
 // rgb led
 class rgbled {
@@ -17,8 +17,11 @@
     bool _off;
     void _none(void);
     void _red(void);
+    void _yellow(void);
     void _green(void);
+    void _cyan(void);
     void _blue(void);
+    void _magenta(void);
 public:
     rgbled(PinName pin_red, PinName pin_green, PinName pin_blue);
     void active(bool a);