   else
     digitalWrite(R, LOW);
 }
-

  pinMode(R, OUTPUT);
  pinMode(Y, OUTPUT);
  pinMode(G, OUTPUT);
}

void loop()
{
  // Lock the sensor GND pin to ground
  digitalWrite(sensorGND, LOW);
  
  // Read data from the sensor
  mv = ( analogRead(sensorPin) / 1024.0 ) * 5000;

int R = 12;         // Red LED
int Y = 11;         // Yellow LED
int G = 10;         // Green LED
int B =  9;         // Blue LED
int ledGND = 7;

float mv = 0.0;     // milliVolts read
float C = 0.0;      // Centigrade degrees
