Program an RGB LED to flash between different colours using this program

Dependencies:   mbed

Fork of Renbed_RGB_Digital by Renishaw

Revision:
1:56810f863198
Parent:
0:b4aa4b3a7cee
Child:
2:c936f86e62fb
--- a/main.cpp	Tue Apr 19 10:12:23 2016 +0000
+++ b/main.cpp	Tue Apr 19 13:35:15 2016 +0000
@@ -12,9 +12,9 @@
 
 /* Set up 3 pins as digital out to control the colour
 cathodes of the RGB LED */
-DigitalOut Green(P0_22);
-DigitalOut Red(P0_14);
-DigitalOut Blue(P0_15);
+DigitalOut Red(P1_24);
+DigitalOut Green(P1_26);
+DigitalOut Blue(P0_19);
 
 int on = 0;
 int off = 1;