mirror of
https://github.com/eclipse/upm.git
synced 2025-03-18 22:47:28 +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>
39 lines
1.4 KiB
JSON
39 lines
1.4 KiB
JSON
{
|
|
"Library": "ina132",
|
|
"Description": "API for the INA132 Differential Amplifier Sensor",
|
|
"Sensor Class":
|
|
{
|
|
"INA132":
|
|
{
|
|
"Name": "Grove Differential Amplifier",
|
|
"Description": "The INA132 Differential Amplifier Sensor is designed for precise differential-input amplification. This sensor was tested amplifying the signal from a Weight Sensor (Load Cell) 0-500g",
|
|
"Aliases": ["ina132"],
|
|
"Categories": ["electric"],
|
|
"Connections": ["analog"],
|
|
"Project Type": ["prototyping"],
|
|
"Manufacturers": ["seeed"],
|
|
"Kits": [],
|
|
"Image": "ina132.jpg",
|
|
"Examples":
|
|
{
|
|
"Java": [],
|
|
"Python": ["ina132.py"],
|
|
"Node.js": ["ina132.js"],
|
|
"C++": ["ina132.cxx"],
|
|
"C": []
|
|
},
|
|
"Specifications":
|
|
{
|
|
"Operating Voltage": {"unit": "V", "low": 2.7, "high": 5.5}
|
|
|
|
},
|
|
"Urls" :
|
|
{
|
|
"Product Pages": ["https://www.seeedstudio.com/Grove-Differential-Amplifier-p-1284.html"],
|
|
"Datasheets": ["http://wiki.seeed.cc/Grove-Differential_Amplifier_v1.2", "https://raw.githubusercontent.com/SeeedDocument/Grove-Differential_Amplifier_v1.2/master/res/Ina132.pdf"],
|
|
"Schematics": []
|
|
}
|
|
}
|
|
}
|
|
}
|