Просмотр исходного кода

Populate includes field in library.properties

The includes field in library.properties is used to specify which #include directives should be added to the sketch via Sketch > Include Library > LIBRARYNAME. Leaving this field empty causes that action to add the following line to the sketch:

#include <>

which results in a compilation error.

Reference:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#libraryproperties-file-format
per1234 7 лет назад
Родитель
Сommit
0ec301b306
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      library.properties

+ 1 - 1
library.properties

@@ -7,4 +7,4 @@ paragraph=Arduino library to control Grove 6 Axis Accelerometer&Gyroscope LSM6DS
 category=Sensors
 category=Sensors
 url=https://github.com/Seeed-Studio/Accelerometer_And_Gyroscope_LSM6DS3
 url=https://github.com/Seeed-Studio/Accelerometer_And_Gyroscope_LSM6DS3
 architectures=*
 architectures=*
-includes=
+includes=SparkFunLSM6DS3.h