Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ultrasonic sensor #178

Open
Zaurez opened this issue Nov 24, 2017 · 4 comments
Open

Ultrasonic sensor #178

Zaurez opened this issue Nov 24, 2017 · 4 comments

Comments

@Zaurez
Copy link

Zaurez commented Nov 24, 2017

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.

@karlTH
Copy link
Contributor

karlTH commented Nov 24, 2017

Hello, Zaurez,
the ultrasonic work fine.
change in the code duration by distance, did it compile.
let as it is does it work fine did it compile.

@Zaurez
Copy link
Author

Zaurez commented Nov 24, 2017 via email

@karlTH
Copy link
Contributor

karlTH commented Nov 24, 2017

the code work well, i use ultrasonic with arudblock.
may be bug with echo trigger( pin), or somewhere else

@Zaurez
Copy link
Author

Zaurez commented Nov 24, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants