The purpose of this function is to further damage from a function not working correctly.
- Line 142 add if (serial == "stop") emergencyStop(); in to loop
- Line 600 added void emergencyStop();
void emergencyStop(){
while(1){
AirRegulatorServo("90")
delay(1000);
}
}
Make non case sensative.
I don't understand though.
ReplyDelete