}else{ x -= s; //otherwise subtract settling time from the pulse width }
}else{ x - s; //otherwise subtract settling time from the pulse width }