5.9.1f * Upgrade library ArduinoJson to 5.11.2 * Upgrade library IRRemoteEsp8266 to 2.2.1 + 2 commits but tweaked some protocols to keep code usage small * Upgrade library NeoPixelBus to 2.2.9 * Upgrade library OneWire to 2.3.3 + 6 commits * Formalize library PubSubClient to 2.6 + 9 commits and additional delay * Add optional ADS1115 driver as alternative for unsupported I2Cdevlib in esp8266-core 2.4.0-rc2 * Fix wrong response name for command HlwISet (#1214)
37 lines
868 B
Plaintext
37 lines
868 B
Plaintext
|
|
This directory is intended for the project specific (private) libraries.
|
|
PlatformIO will compile them to static libraries and link to executable file.
|
|
|
|
The source code of each library should be placed in separate directory, like
|
|
"lib/private_lib/[here are source files]".
|
|
|
|
For example, see how can be organized `Foo` and `Bar` libraries:
|
|
|
|
|--lib
|
|
| |--Bar
|
|
| | |--docs
|
|
| | |--examples
|
|
| | |--src
|
|
| | |- Bar.c
|
|
| | |- Bar.h
|
|
| |--Foo
|
|
| | |- Foo.c
|
|
| | |- Foo.h
|
|
| |- readme.txt --> THIS FILE
|
|
|- platformio.ini
|
|
|--src
|
|
|- main.c
|
|
|
|
Then in `src/main.c` you should use:
|
|
|
|
#include <Foo.h>
|
|
#include <Bar.h>
|
|
|
|
// rest H/C/CPP code
|
|
|
|
PlatformIO will find your libraries automatically, configure preprocessor's
|
|
include paths and build them.
|
|
|
|
More information about PlatformIO Library Dependency Finder
|
|
- http://docs.platformio.org/page/librarymanager/ldf.html
|