 
   
   delay(200);
-}+}

    digitalWrite(RED, LOW);
  }

  if (scale<1) {
    digitalWrite(YELLOW, HIGH);
  } else {
    digitalWrite(YELLOW, LOW);
  }

  if (scale<2) {
    digitalWrite(GREEN, HIGH);
  } else {
    digitalWrite(GREEN, LOW);

  int light = analogRead(A0);
  Serial.println(light);
  
  int scale = map(light, 400, 1000, 0, 2);
  //Serial.println(scale);
  
  if (scale==0) {
