void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello,");
}
void loop() {
int analogValue = analogRead(35);
Serial.print("analog voltage reading: ");
Serial.println(analogValue);
float celsius = 1 / (log(1 / (1023. / (analogValue * 0.2489) - 1)) / 3950 + 1.0 / 298.15) - 273.15;
Serial.print("analog voltage reading: ");
Serial.println(celsius);
delay(333);
}