simple wrapper for the K64F RGB Led

Revision:
0:ee2feb784400
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/KRGBLed.cpp	Tue Feb 03 01:10:35 2015 +0000
@@ -0,0 +1,19 @@
+#include "KRGBLed.h"
+
+KRGBLed::KRGBLed(PinName redPin, PinName greenPin, PinName bluePin) :
+    red(redPin),
+    green(greenPin),
+    blue(bluePin)
+{
+}
+
+KRGBLed::~KRGBLed()
+{
+}
+
+void KRGBLed::set(Color color)
+{
+    red = !(color & Red);
+    green = !(color & Green);
+    blue = !(color & Blue);
+}
\ No newline at end of file