EasyManua.ls Logo

Eckstein komponente KS0530 - Page 158

Default Icon
160 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
158
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