else if (count = 5){
Assigning the value 5 to count in an if statement is rarely the right thing to do.
Showing the temperature every 2 seconds, and logging it every 10 minutes, requires a count of more than 5.
else if (count = 5){
Assigning the value 5 to count in an if statement is rarely the right thing to do.
Showing the temperature every 2 seconds, and logging it every 10 minutes, requires a count of more than 5.