mirror of
https://github.com/eclipse/upm.git
synced 2025-11-06 18:14:45 +03:00
Unified all Java examples to *match* <LIBRARY>[_otherstuf]_Example.java.
Note, a handful of the examples have a pseudo-random string for the
first component (see FlexSensor_Example.java, ideally this would be
Flex_Example.java).
This commit allows for quick development on a single sensor library
since a -DMODULE_LIST=mysensorlib now works with Java examples
(previously Java examples would fail generation when using
MODULE_LIST).
* Renamed examples
* Updated class names
* Updated library descriptor .json files
* Updated sample mapping file
TODO: Make this work like the C/C++ examples - grab the target library
name from the filename and grab all dependencies from that target
library. Fix the handful of example names which don't conform.
Signed-off-by: Noel Eck <noel.eck@intel.com>
41 lines
1.4 KiB
JSON
41 lines
1.4 KiB
JSON
{
|
|
"Library": "eldriver",
|
|
"Description": "API for the EL Driver Module",
|
|
"Sensor Class":
|
|
{
|
|
"ElDriver":
|
|
{
|
|
"Name": "Electroluminescent Wire (EL) Driver",
|
|
"Description": "The EL Driver allows you to easily light up an EL wire with just one single cable.",
|
|
"Aliases": ["eldriver"],
|
|
"Categories": ["lighting"],
|
|
"Connections": ["gpio"],
|
|
"Project Type": ["prototyping", "commercial", "wearables"],
|
|
"Manufacturers": ["seeed"],
|
|
"Kits": [],
|
|
"Image": "eldriver.jpg",
|
|
"Examples":
|
|
{
|
|
"Java": [],
|
|
"Python": ["eldriver.py"],
|
|
"Node.js": ["eldriver.js"],
|
|
"C++": ["eldriver.cxx"],
|
|
"C": []
|
|
},
|
|
"Specifications":
|
|
{
|
|
"Operating Voltage": {"unit": "V", "low": 3.3, "high": 5},
|
|
"Operating Current": {"unit": "mA", "max": 300},
|
|
"Supported EL Capacitance": {"unit": "nF", "max": 15}
|
|
|
|
},
|
|
"Urls" :
|
|
{
|
|
"Product Pages": ["https://www.seeedstudio.com/Grove-EL-Driver-p-2269.html"],
|
|
"Datasheets": ["http://wiki.seeed.cc/Grove-EL_Driver/"],
|
|
"Schematics": ["https://raw.githubusercontent.com/SeeedDocument/Grove-EL_Driver/master/res/Grove-EL_Driver_v1.0.pdf"]
|
|
}
|
|
}
|
|
}
|
|
}
|