Open altf4arnold opened 6 years ago
Followup: The file utility/w5100.h exists in the newer version of the Arduino IDE (1.8.7) I'm using, but the library relies on some functions that don't exist any more.
Specifically, the following functions don't exist in the W5100Class object included with the arduino IDE 1.8.7:
W5100.send_data_processing W5100.getRXReceivedSize W5100.read_data
I can confirm they exist in the library version included in an older version of the IDE (1.8.2) that I have a copy of.
It looks like the Library needs porting to the newer version of the Ethernet library.
Hello, I think another Github user @masterx1981 managed to fix the ICMP Library, the related issue is here https://github.com/arduino-libraries/Ethernet/issues/105 .masterx1981 fixes the library and make the ICMP ping is built-in into the Ethernet Library which you can find here https://github.com/masterx1981/Ethernet . But if you want to only add the ICMP ping library, I already move out only the ICMP ping part, so you should be able to add the library just like this Arduino-Ping library. You can find that in my repository here https://github.com/andrew-susanto/Arduino-Ethernet-Icmp . I also add example for using DHCP instead of static IP. I already tested on arduino uno + W5100 Ethernet shield and already worked.
I'm using the arduino IDE in 1.8.5. When I'm trying to compile, I get an error from the line 12 in ICMPPing.h
/home/altf4/Arduino/libraries/icmp_ping/ICMPPing.h:12:27: fatal error: utility/w5100.h: No such file or directory compilation terminated.
How am I supposed to solve that?