|
Post by Jahn on Sept 10, 2019 16:52:26 GMT
we cannot get the echook.ino to complie, getting the error Bounce2.h no such file or directry
we ahve placed the file bound2.h in the same sub directory as echook.ino but cannot see whyt the complier cant find this file?
any ideas?
|
|
|
Post by Rowan on Sept 10, 2019 17:07:03 GMT
Hi, The Arduino IDE is looking for the bounce library in the Arduino libraries folder, normally in my documents>Arduino. Did you add the library through the Arduino "add library from .zip" option? If you download the zip file from GitHub, then add it as a zip library in the Arduino IDE libraries menu it should put the files in the right place for you. Procedure shown here: docs.echook.uk/programming-the-arduino/download-the-echook-arduino-codeYou could make the code find the bounce2.h locally by changing it from #include <bounce2.h> to #include "bounce2.h", however the .h file then looks for the .cpp files of the library which are also needed.
|
|