Automatically sets the controller to digital mode (includes major rework)