MY ULTRASONIC SENSOR , WHEN SOMETHING NEAR THE SENSOR SMALL THAN 35CM, IT WILL RING, BUT I ALSO WANT TO DO SOMETHING. IT WILL RING ONLY WHEN I NEAR THE SENSOR SMALL THAN 35CM AND MORE THAN 1 MINUTE. DID ANYOTHER KNOW THE PROGAMMME?
Why are you shouting?
This might help:
I am so sorry =(
OK, you need to tell us what sensor you have, what your code does and what it looks like.
[quote author=Nick Gammon link=topic=56113.msg402242#msg402242 date=1300780075] This might help:
Anyway, I'm not sure whether I understand the question correctly (ring when sensor detects object that stays within 35cm for 1 minute?). We still need to know what sensor it is to help.