Go Down

Topic: SENSOR PING))) QUESTION (Read 1 time) previous topic - next topic


well if ( pingPin,_______________ ) i don't know what does, but your arduino can read the ms of the ping, and can translate this time in cm/inches

with the first code (that was working, right?) you can read in the serial monitor the output (distance in inch and cm), take a look if this data is good.
sei nuovo? non sai da dove partire? leggi qui: http://playground.arduino.cc/Italiano/Newbie


yeah your right, :D
but can you send and example of it, a little bit modified, so i will understand it clearly  :smiley-slim:


Code: [Select]
if ( pingPin,_______________ )
I don't understand what this is meant to signify. It doesn't look like C.

Please will you go back over your earlier posts, highlight the code, then click on the # icon. Then click "save".
Get rid of any "quote" tags, except where quotes are intended.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.


my PING))) SENSOR worked like a charm.  :)  :D :D :D :D :D

Go Up

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

shortcuts: alt+s submit/post or alt+p preview