OpenGarage › Forums › Hardware Questions › OG shows same distance measure no matter the distance › Reply To: OG shows same distance measure no matter the distance
September 7, 2017 at 8:24 pm
#648
lawrence_jeff
Participant
FYI – 562 is what is returned if the read distance function hits this code
if (lapse>32767L) lapse = 32767L;
and then in the conversion function 32767 is multiplied by 0.01716f which gives you 562
So the distance sensor isn’t properly working or connected.