BlakeFoster / Arduino-Ping

ICMP ping library for the Arduino
58 stars 44 forks source link

not able to add library #11

Open sanfx opened 7 years ago

sanfx commented 7 years ago

whenever I try to add library i get the following error message:

subfolder of your sketchbook is not a valid library Invalid library found in ~/Documents/Arduino/libraries/Arduino-Ping: ~/Documents/Arduino/libraries/Arduino-Ping

I am using Mac OSx , the instruction given on readme doesnt work on mac, so please help fixing this issue.

dmnc-net commented 7 years ago

imho you misunderstood the README.MD, look into the folder you've downloaded/cloned, is there any icmp-ping? If yes, this is a library, not the Arduino-Ping - it is a GIT project name.

README.MD tells you:

To use, copy the icmp_ping directory into the libraries directory of your Arduino folder.

... so try to locate icmp-ping and put it in your ~/Documents/Arduino/libraries/ ... if you have ~/Documents/Arduino/libraries/Arduino-Ping/icmp-ping you've definitely copy whole directory of this GIT project (incl. readme, contributors) but not just a library.

sanfx commented 7 years ago

no problem , I got it working by manually copying Icmp_ping to : /Applications/Arduino.app/Contents/Java/libraries/

dmnc-net commented 7 years ago

@sanfx I suggest to close this issue.