//SENSOR DE TEMPERATURA
//DIOSES GERALDINE 5TO AZUL
#define SENSOR_PIN A0
void setup() {
Serial.begin(9600);
}
void loop() {
float voltage = analogRead(SENSOR_PIN) * 5.0 / 1023.0;
float temperature = (voltage - 0.5) * 100;
Serial.print("Temperatura: ");
Serial.print(temperature);
Serial.println(" grados Celsius");
delay(1000);
}