Different states of state machine are used to indicate different cases of motion. Stop
condition is taken as idle case and before going to any other case state machine will
be returning in to the idle case. Fig.3. shows the different states of the state machine.
The LEDs related to different case are continuously blinking one after other along
with “Start Select” LED. When both the “Start Select” LED and case LED is ON, and
if subject blinks his eyes the program enters into the respective case. The different
case LEDs and “Start Select” LED together performs the operation of preliminary
case selection process.