Tested version of ADC state machine. Tested only to prove that 'something works'...
drwxr-xr-x - pmsm-control
drwxr-xr-x - simple-dc