digitalWrite(8,LOW);
digitalWrite(9,LOW);
digitalWrite(10,HIGH);
lcd.setCursor(4,0);
lcd.print("PELIGRO");
delay(200);
}else if(g>306){
lcd.clear();
digitalWrite(8,LOW);
digitalWrite(9,HIGH);
digitalWrite(10,LOW);
lcd.setCursor(2,0);
lcd.print("ADVERTENCIA");
delay(200);
}
}
EJERCICIO #41