float TensionLue; float ResistanceCapteur; float Temperature; float R2 = 10000.0; void setup() { pinMode(A0, INPUT); Serial.begin(9600); } void loop() { TensionLue = 5.0*analogRead(A0) / 1023; ResistanceCapteur = R2 * (5.0 / TensionLue - 1); Temperature = 1 / ((log(ResistanceCapteur / 10000)) / 3950 + 1 / 298.15); Serial.println(Temperature- 273.15); delay(200); }