Closed sblantipodi closed 1 year ago
Seconded, I want to do some work while the library is pinging and right now it's not possible.
@sblantipodi You could call Ping.ping(host, 1);
to only send one ping request. This works quite fast.
@sblantipodi You could call
Ping.ping(host, 1);
to only send one ping request. This works quite fast.
I'm running a stepper motor, this cause huge rattle
@skorokithakis @sblantipodi You all probably figured it out but I had this same issue past week and resolved it by using another library: AsyncPing It works a treat.
@ziqbal Hey Zafar! Long time! Thanks for the tip, I'll use that.
@maiksicks it's fast but if you are driving a stepper motor on a single core microcontroller it creates a rattle every time you do a ping. :) Not an enormous issues but an async call could be cool.
@dancol90 wow you close this issue, can I ask you how to "make it async"? should I change somethig in my code?
is the
bool ret = Ping.ping("www.google.com");
now async?
@sblantipodi What about this? :)
As title, pinging requires a lot of time with this lib.
Is it possible to make it async?