-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arduino IDE Error: Library Not Valid #6
Comments
FIX: Replace "library.json" with "library.properties" as follows:
|
Additionally to view the examples within the Arduino IDE they would need to be renamed to .ino files and packaged inside folders with their same name |
Hi, did you check to make sure that the library fully works when using this method? It has some other dependencies that I want to make sure were also installed |
I wasn't sure how to make it require other dependencies to be honest, but I found that even upon installing those dependencies I was unable to get the whole library to work. I was getting errors about there being several
For additional information, this is the code I am using, which is example code provided in the library with additional debug lines to Serial. The i2c protocol constructor has been modified to not throw an error. The installed libraries are LSM6DSO32, Protocol, Vector, and FIFO. None of the serial println commands, even the first one just after Serial.begin, are printing which leads me to believe there is some more significant issue. My board is not the problem, it works on my code just fine but I really wanted a library with FIFO to make working on this easier.
|
Should be all fixed now - I've removed the main.cpp from the git, and added a library.properties file for compatibility with the Arduino IDE. I've never experienced any issues with the I2C initialiser, I ran the code you posted above and it seemed to work with no issues: For more on our multi-protocol implementation that we use, see https://github.com/TeamSunride/Protocol Could you try again with the new version? |
STEPS TO REPRODUCE: In Arduino IDE, navigate to Sketch, Manage Libraries, Install .zip Library, and select the latest release of this library. The error is thrown.
The text was updated successfully, but these errors were encountered: