mirror of
https://github.com/eclipse/upm.git
synced 2025-11-02 08:04:22 +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>
38 lines
1.4 KiB
JSON
38 lines
1.4 KiB
JSON
{
|
|
"Library": "groveemg",
|
|
"Description": "Grove EMG Muscle Signal Reader Library",
|
|
"Sensor Class":
|
|
{
|
|
"GroveEMG":
|
|
{
|
|
"Name": "Grove Electromyography (EMG) Sensor",
|
|
"Description": "Grove EMG muscle signal reader gathers small muscle signals, then processes them, and returns the result.",
|
|
"Aliases": ["groveemg"],
|
|
"Categories": ["electromyography", "medical", "deprecated"],
|
|
"Connections": ["analog"],
|
|
"Project Type": ["wearables", "computer interfacing", "prototyping"],
|
|
"Manufacturers": ["seeed"],
|
|
"Kits": [],
|
|
"Examples":
|
|
{
|
|
"Java": ["GroveEmg_Example.java"],
|
|
"Python": ["groveemg.py"],
|
|
"Node.js": ["groveemg.js"],
|
|
"C++": ["groveemg.cxx"],
|
|
"C": []
|
|
},
|
|
"Specifications":
|
|
{
|
|
"Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}
|
|
|
|
},
|
|
"Urls" :
|
|
{
|
|
"Product Pages": ["https://www.seeedstudio.com/Grove-EMG-Detector-p-1737.html"],
|
|
"Datasheets": ["http://wiki.seeed.cc/Grove-EMG_Detector/"],
|
|
"Schematics": ["https://raw.githubusercontent.com/SeeedDocument/Grove-EMG_Detector/master/res/Grove-EMG_Sensor_v1.1_SCH.pdf"]
|
|
}
|
|
}
|
|
}
|
|
}
|