change learningPin to buttonPin, use only Pot and high fret value to trigger calibration