Change Analog Input sample code