Skip to content
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

Correct includes value in library.properties #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

per1234
Copy link

@per1234 per1234 commented May 17, 2018

The includes field in library.properties is used to customize which #include directives will be added to the sketch by the Arduino IDE via Sketch > Include Library > ADXL362. For this reason, the previous includes value was incorrect.

An #include directive for Arduino.h is already automatically added to the sketch by the Arduino IDE.

The includes field is only supported by Arduino IDE 1.6.10 and newer and those IDE versions do not require you to add #include directives for library dependencies so it is pointless to have SPI.h in the includes field.

What is needed in the includes field is ADXL362.h, which I have added in lieu of the unnecessary file names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant