I am following an example for this website:
https://techtutorialsx.com/2019/10/05/e ... mote-host/
I am able to successfully connect to my home WIFI network, but ping method just doesn't work and returns an error message "Ping failed" all the time.
Code: Select all
bool success = Ping.ping("www.google.com", 3);
if(!success){
Serial.println("Ping failed");
return;
}
Serial.println("Ping succesful.");
Thanks in advance!