added potentiometer and knock inputs