I have doubt about whether the pre-defined code of ultrasonic sensor block is correct or not.
because when I uploaded it shows
duration = duration/59;
And i think it should be
distance = duration/59;
if everything is correct according to you help me with simple distance calculation using ultrasonic sensor and ardublock.
I have doubt about whether the pre-defined code of ultrasonic sensor block is correct or not.
because when I uploaded it shows
duration = duration/59;
And i think it should be
distance = duration/59;
if everything is correct according to you help me with simple distance calculation using ultrasonic sensor and ardublock.