# Hysteresis A simple state-oriented hysteresis loop returning the next direction from provided measurement.