   else
     digitalWrite(R, LOW);
 }
+

  pinMode(Y, OUTPUT);
  pinMode(G, OUTPUT);
  pinMode(B, OUTPUT);
  pinMode(ledGND, OUTPUT);
}


  delay(1000-mv);

  // Display output on the leds
  if (C > 0.0) // Cold
    digitalWrite(W, HIGH);
  else
    digitalWrite(W, LOW);

  if (C > 15.0) // Cool
    digitalWrite(B, HIGH);
  else
    digitalWrite(B, LOW);
