An example program for driving an RGB LED

Dependencies:   mbed

Fork of Renbed_RGB_Digital by Miskin Project

Revision:
2:c936f86e62fb
Parent:
1:56810f863198
Child:
3:3411d8922bb1
--- a/main.cpp	Tue Apr 19 13:35:15 2016 +0000
+++ b/main.cpp	Wed Apr 20 07:28:00 2016 +0000
@@ -1,6 +1,6 @@
 /*********************************************************
 *Renbed_RGB_Digital                                      *
-*Author: Dan Argust                                      *
+*Author: Elijah Orr & Dan Argust                         *
 *                                                        *  
 *A program that controls an RGB LED                      *
 *********************************************************/
@@ -16,6 +16,7 @@
 DigitalOut Green(P1_26);
 DigitalOut Blue(P0_19);
 
+/* Set the on and off states of the lights */
 int on = 0;
 int off = 1;