My project in Platformio doesn’t recognize the library #include <AFMotor.h>. I have tried the following based on ohter comments in this community and the documentation about libraries rom platformio, but still can’t get it work.
- Add the library in the “platformio.ini” file as “lib_deps = adafruit/Adafruit Motor Shield library @ ^1.0.1”, not working
- Edit the “include path” setting, even add the Arduino IDE library directory where the library is installed and nothing
- Install the library from the platformio GUI only in the environment of my project also nothing
The library works perfectly in the “Arduino IDE” so I don’t know why Platformio doesn’t recognize it. I hope someone can help.