Go Down

Topic: new ping library (Read 473 times) previous topic - next topic


why i cant use sonar.ping() from new ping and tone function together?


Hello and welcome :)

It's probably because the NewPing library modify timers settings, so that the tone function won't work correctly or at all, because it also rely on those timers.

Don't ask me how to solve that, I have never messed with those timers so I have no idea. Maybe someone else will be able to help more.

Go Up