Skip to content

Correct includes value in library.properties#11

Open
per1234 wants to merge 1 commit intoannem:masterfrom
per1234:includes-property
Open

Correct includes value in library.properties#11
per1234 wants to merge 1 commit intoannem:masterfrom
per1234:includes-property

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