Basic control of an RGB LED

Dependencies:   mbed

Revision:
1:56810f863198
Parent:
0:b4aa4b3a7cee
Child:
2:c936f86e62fb
diff -r b4aa4b3a7cee -r 56810f863198 main.cpp
--- 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;