hi
i needed ping a device
if no replay or isconnect divice ing 13 = high ?
help me plz
help me plz
OK. Please is not spelled that way.
What have you tried? What happened?
hi
im need ping a device on network and check connection if disconnected relay turn on
im not found a code for this .
i need help me ?
any body uderestand icmpping trusted library .
PaulS:
OK. Please is not spelled that way.What have you tried? What happened?
i have uno at328 and ethershild w5100
download icmp_ping ver 2
but error and cannt uploude
{
Arduino: 1.6.5 Hourly Build 2015/05/26 04:01 (Windows 8.1), Board: "Arduino Ethernet"
Ping:26: error: no matching function for call to 'ICMPPing::ICMPPing(SOCKET&, uint16_t)'
Ping.ino:26:51: note: candidates are:
In file included from Ping.ino:17:0:
C:\Users\sAmis\Documents\Arduino\libraries\ICMPPing/ICMPPing.h:28:2: note: ICMPPing::ICMPPing(SOCKET)
ICMPPing(SOCKET s); // construct an ICMPPing object for socket s
^
C:\Users\sAmis\Documents\Arduino\libraries\ICMPPing/ICMPPing.h:28:2: note: candidate expects 1 argument, 2 provided
C:\Users\sAmis\Documents\Arduino\libraries\ICMPPing/ICMPPing.h:25:7: note: ICMPPing::ICMPPing(const ICMPPing&)
class ICMPPing
^
C:\Users\sAmis\Documents\Arduino\libraries\ICMPPing/ICMPPing.h:25:7: note: candidate expects 1 argument, 2 provided
Ping.ino: In function 'void loop()':
Ping:37: error: 'ICMPEchoReply' was not declared in this scope
Ping:37: error: expected ';' before 'echoReply'
Ping:38: error: 'echoReply' was not declared in this scope
Ping:38: error: 'SUCCESS' was not declared in this scope
no matching function for call to 'ICMPPing::ICMPPing(SOCKET&, uint16_t)'
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
}
i changed echoReply to Echorelpay
#include <ICMPPing.h>
A link to this library would be useful. It looks like the ping() function only takes one argument. Why are you passing it two?
Since the ping function only takes one argument, why do you persist in passing it two?