The advantage of pulseIn is that you can detect standstil by timeout.
MOst important drawback imho is that pulseIn() is blocking...
The advantage of pulseIn is that you can detect standstil by timeout.
MOst important drawback imho is that pulseIn() is blocking...