Sample code for reading a value from an analog pin, in our case, an IR proximity sensor.