Simple function to test the digital potentiometer