# Temperatures:
# 180 = high
# 30 = low
# 0 = off
if (tempC != -127){
if (tempC >= tempSet && isTurn == false){
for (int i = 0; i < 180; i++) {
stove.write(i);
Serial.println(i);
delay(80);
}
isTurn = true;
} else if (tempC < tempSet) {
servoControl("30");
Serial.println("\t0!");
isTurn = false;
}
}
Click to Expand
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .