   Serial.begin(9600); 
 
   // set the digital pins as outputs
-  pinMode(greenLedPin,OUTPUT);
-  pinMode(redLedPin,OUTPUT);
-  pinMode(blueLedPin,OUTPUT);
+  pinMode(greenLEDPin,OUTPUT);
+  pinMode(redLEDPin,OUTPUT);
+  pinMode(blueLEDPin,OUTPUT);
 }
 
 void loop() {
   // Read the sensors first:
   
   // read the value from the red-filtered photoresistor:
-  redsensorValue = analogRead(redsensorPin);
+  redSensorValue = analogRead(redSensorPin);
   // give the ADC a moment to settle
   delay(5);
   // read the value from the green-filtered photoresistor:
-  greensensorValue = analogRead(greensensorPin);
+  greenSensorValue = analogRead(greenSensorPin);
   // give the ADC a moment to settle
   delay(5);
   // read the value from the blue-filtered photoresistor:
-  bluesensorValue = analogRead(bluesensorPin);  
+  blueSensorValue = analogRead(blueSensorPin);  
 
   // print out the values to the serial monitor  
   Serial.print("raw sensor Values \t red: ");
-  Serial.print(redsensorValue);
+  Serial.print(redSensorValue);
   Serial.print("\t green: ");
-  Serial.print(greensensorValue);
+  Serial.print(greenSensorValue);
   Serial.print("\t Blue: ");
-  Serial.println(bluesensorValue);
+  Serial.println(blueSensorValue);
 
   /*
   In order to use the values from the sensor for the LED, 

 three 10 kilohm resistors
 3 220 ohm resistors
 3 photoresistors
 red green aand blue colored gels
 
 Created 13 September 2012
 by Scott Fitzgerald
 Thanks to Federico Vanzati for improvements


  but analogWrite() uses 8 bits. You'll want to divide your 
  sensor readings by 4 to keep them in range of the output. 
  */
  redValue = redSensorValue/4;
  greenValue = greenSensorValue/4;
  blueValue = blueSensorValue/4;  

  //  print out the mapped values  
  Serial.print("Mapped sensor Values \t red: ");
