Go Down

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

lesto

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

Muneeb

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

AWOL

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.

Muneeb

THANK YOU LESTO,
my PING))) SENSOR worked like a charm.  :)  :D :D :D :D :D

Go Up