drewship:
That piece of code should only work when the object in front is 10 cm or less. I am experiencing this when the distance is greater than 10 cm.
'Should'? What do the println statements tell you?
drewship:
That piece of code should only work when the object in front is 10 cm or less. I am experiencing this when the distance is greater than 10 cm.
'Should'? What do the println statements tell you?