/*Paste your code here*/
#define Vout A0
float ref_voltage = 5 * (3.3 / 13.3);
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
int ADC_tm = analogRead(Vout);
float voltage = (float) ADC_tm / 1023 * 5 - ref_voltage;
float temp = voltage * 100;
Serial.print("Temperature: ");
Serial.println(temp);
delay(500);
}