mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10: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.3 KiB
JSON
38 lines
1.3 KiB
JSON
{
|
|
"Library": "grovevdiv",
|
|
"Description": "API for the Grove Voltage Divider Sensor",
|
|
"Sensor Class":
|
|
{
|
|
"GroveVDiv":
|
|
{
|
|
"Name": "Grove Voltage Divider Sensor",
|
|
"Description": "UPM module for the Grove Voltage Divider sensor.",
|
|
"Aliases": ["grovevdiv"],
|
|
"Categories": ["electric", "deprecated"],
|
|
"Connections": ["gpio"],
|
|
"Project Type": ["robotics", "prototyping"],
|
|
"Manufacturers": ["seeed"],
|
|
"Kits": ["robok"],
|
|
"Image": "grovevdiv.jpg",
|
|
"Examples":
|
|
{
|
|
"Java": ["GroveVDiv_Example.java"],
|
|
"Python": ["grovevdiv.py"],
|
|
"Node.js": ["grovevdiv.js"],
|
|
"C++": ["grovevdiv.cxx"],
|
|
"C": []
|
|
},
|
|
"Specifications":
|
|
{
|
|
"Operating Voltage": {"unit": "V", "typ": 5}
|
|
},
|
|
"Urls" :
|
|
{
|
|
"Product Pages": ["https://www.seeedstudio.com/Grove-Voltage-Divider-p-1472.html"],
|
|
"Datasheets": ["http://wiki.seeed.cc/Grove-Voltage_Divider/"],
|
|
"Schematics": ["https://github.com/SeeedDocument/Grove-Voltage_Divider/raw/master/res/LMV358ID_Datasheet.pdf"]
|
|
}
|
|
}
|
|
}
|
|
}
|