FSM#11: How to… test your FSM: SHAKE detection, further algorithm examples
This example describes how to set up a finite state machine to enable the built-in detection of a SHAKE action along x-axis. The picture here below shows the steps of the dedicated FSM. SHAKE FSM allows you to check when a double shake event is detec...