Select function by amplitude of analog value, potentiometer, resistor taps