A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

New answers tagged

2

Perhaps you need to add some hysteresis in your sensor loops. Each loop waits for a condition to be met, but then repeats infinity as long as that condition is met. Hysteresis means waiting for another condition to indicate that the sensor has returned to the original state and usually includes a deadband (meaning the positive trigger is not the same as the ...


Top 50 recent answers are included