6 years, 1 month ago.

Show me more than 20 mm


if i my finger on the sensor it shows me 20 mm . It mus show me0. Why? Has anyone a code for that ?


Question relating to:

Hi Fawad,

Thanks for the question :)

What value does the device report when there is no obstruction on the sensor, according to the data sheet the max distance should be around 100mm. Are you saying that when you expect distance to be 0mm should be when it is being touched?


Andrea, team mbed

posted by Andrea Corrado 27 Oct 2016
Be the first to answer this question.