I have been using the library with great success for a while now.
I have just reinstalled everything on my raspberry pi and i am having a problem.
The usual add zip library is reporting:
Invalid library found in /home/pi/Arduino/libraries/modbus-arduino-master: no headers files (.h) found in /home/pi/Arduino/libraries/modbus-arduino-master
I have had no problem with this in the past. Me and the plants in my garden are desperate for help.
I have manually installed the library folder and it appears along with all its folders/contents but it will not compile.
other libraries that i need in my project install okay but not this one.
The Arduino IDE requires that libraries be installed directly under the libraries folder, not in a subfolder. The problem here is that andresarmento/modbus-arduino is a collection of libraries. So you have this structure:
Each of those folders under /home/pi/Arduino/libraries/modbus-arduino-master/libraries is an Arduino library, but the Arduino IDE will only recognize those libraries if they're located directly under /home/pi/Arduino/libraries. So you can fix this problem by moving all those folders up to /home/pi/Arduino/libraries and then deleting /home/pi/Arduino/libraries/modbus-arduino-master. The your folder structure will look like this: