break;
}
temperature = DHT.temperature;
humidity = DHT.humidity;
}
/*********function disrupts service**************/
void adjust_resolution() {
tone(buzzer, 800, 100);
delay(10); //delay to eliminate vibration
if (!digitalRead(interruptPin)){
if(resolution < 5){
resolution++;
}else{
resolution = 1;
}
}
}
//*******************************************************************
(5)Test Results:
After uploading the test code and powering it up, the servos rotate to the