Multi option analog using potentiometer