A program to control an RGB LED via digital outputs

Dependencies:   mbed-renbed

Revision:
1:333227007cea
Parent:
0:f8795d549647
--- a/main.cpp	Wed Apr 13 14:33:42 2016 +0000
+++ b/main.cpp	Fri Apr 15 07:22:32 2016 +0000
@@ -14,9 +14,9 @@
 
 /* Set up 3 pins as digital out to control the colour
 cathodes of the RGB LED */
-DigitalOut Red(p21);
-DigitalOut Green(p23);
-DigitalOut Blue(p22);
+DigitalOut Red(p18);
+DigitalOut Green(p20);
+DigitalOut Blue(p19);
 
 /* the main function is where a program will begin to execute. */