Ping on Stingray...
Ramboman
Posts: 101
I cannot have a stable operation with the three pings...
There is something in the demo code I don't understand...
PUB pings | i, ticks
repeat
repeat i from 0 to 2
ticks := Ping.ticks(PING_PIN + i)
Distance := ticks
ticks /= 104
ticks <#= 96
What is the purpose of the two last lines ?
Thanks for feedback...
There is something in the demo code I don't understand...
PUB pings | i, ticks
repeat
repeat i from 0 to 2
ticks := Ping.ticks(PING_PIN + i)
Distance := ticks
ticks /= 104
ticks <#= 96
What is the purpose of the two last lines ?
Thanks for feedback...