Professional Documents
Culture Documents
TEMP
TEMP
h>
float A = 1.11492089e-3;
float B = 2.372075385e-4;
float C = 6.954079529e-8;
void setup()
{
Serial.begin(9600);
}
void loop()
{
float raw = analogRead(SensorPIN);
float V = raw / 1024 * Vcc;
Serial.print("T = ");
Serial.print(celsius);
Serial.print("C\n");
delay(2500);
}