I would like to be able to measure distance during the servo movement (0-180°) and i can't !!!
I think i can do it using a for loop which include the "void loop()", one for 0-180 and the other for returning from 180 to 0.
could you help me telling me where i could write my FOR loops (from 0-180) and 180-0) during the distance measures ?