The code reads the sensor value periodically, converts it to a percent (assuming the input is 0V..5V) and displays it. Normally these things should get through a calibration phase, but it's easier to ...