added potentiometer sample