what i need is how to program an arduino for distance counting to count up only when the value is above 50 then go back to below 50.
led light up;
only count up when after going above 50 and back to below 50
Can any1 help me.
Thanks in advance