-
Notifications
You must be signed in to change notification settings - Fork 1
Library detection
waldo-withers edited this page Mar 13, 2015
·
5 revisions
##Input
The libraries detector would accept the absolute path of Arduino project folder as input.
##Output
The libraries detector returns a list of libraries
detected in the project folder, each library
object contains the its library folder whose attribute name is folder
and it also contains the following metadata information:
-
name
- name of the library -
version
- the version of the library -
author
- the author of the library -
maintainer
- the maintainer of the library -
sentence
- a brief description of the functionality of the library -
paragraph
- some feature points about this library. -
url
- the website URL of detailed description of the library in Arduino.cc -
architectures
- I'm not sure about this metadata.
###Example
If we have a library bridge
and Esplora
in the project folder, then the libraries detector will return the following list:
[Library: (name=Bridge) (version=1.0) (author=Arduino) (maintainer=Arduino <[email protected]>) (sentence=Enables the communication between the Linux processor and the AVR. For Arduino Yún and TRE only.) (paragraph=The Bridge library feature: access to the shared storage, run and manage linux processes, open a remote console, access to the linux file system, including the SD card, enstablish http clients or servers.) (url=http://arduino.cc/en/Reference/YunBridgeLibrary) (architectures=[*]), Library: (name=Esplora) (version=1.0) (author=Arduino) (maintainer=Arduino <[email protected]>) (sentence=Grants easy access to the various sensors and actuators of the Esplora. For Arduino Esplora only.) (paragraph=The sensors available on the board are:2-Axis analog joystick with center push-button,4 push-buttons,microphone, light sensor, temperature sensor, 3-axis accelerometer, 2 TinkerKit input connectors.</br>The actuators available on the board are: bright RGB LED, piezo buzzer, 2 TinkerKit output connectors.) (url=http://arduino.cc/en/Reference/EsploraLibrary) (architectures=[avr])]