Greater than but less than statement - PID sketch

Jimmy60:

 if (.5 < gap && gap < 1)     // this is how I'd do it only because that shows gap between the two values

+1 !!!

1 Like