vmandin:
However, if your 5V supply (the default analog reference) is not very accurate then you will have a significant zero error. If the sensor has a digital output, it would be better to use that.
Yes sir, the sensor has a digital output. What exactly is the difference in measurements if I use the digital or analog? And how is it done?