mirror of
https://github.com/eclipse/upm.git
synced 2025-06-10 07: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>
39 lines
1.4 KiB
JSON
39 lines
1.4 KiB
JSON
{
|
|
"Library": "lm35",
|
|
"Description": "API for the DFRobot LM35 Linear Temperature Sensor",
|
|
"Sensor Class":
|
|
{
|
|
"LM35":
|
|
{
|
|
"Name": "Analog Temperature Sensor",
|
|
"Description": "This sensor returns an analog voltage proportional to the temperature of the ambient environment. This driver was developed using the DFRobot LM35 Linear Temperature Sensor",
|
|
"Aliases": ["lm35"],
|
|
"Categories": ["temperature"],
|
|
"Connections": ["analog"],
|
|
"Project Type": ["environmental", "monitoring", "prototyping"],
|
|
"Manufacturers": ["dfrobot", "nationalsemiconductor"],
|
|
"Kits": [],
|
|
"Image": "lm35.jpg",
|
|
"Examples":
|
|
{
|
|
"Java": [],
|
|
"Python": ["lm35.py"],
|
|
"Node.js": ["lm35.js"],
|
|
"C++": ["lm35.cxx"],
|
|
"C": ["lm35.c"]
|
|
},
|
|
"Specifications":
|
|
{
|
|
"Operating Voltage": {"unit": "V", "low": 3.3, "high": 5},
|
|
"Measurement Range": {"unit": "degC", "low": 0, "high": 100}
|
|
},
|
|
"Urls" :
|
|
{
|
|
"Product Pages": ["https://www.dfrobot.com/product-76.html"],
|
|
"Datasheets": ["http://image.dfrobot.com/image/data/DFR0023/DFR0023_Datasheet.pdf"],
|
|
"Schematics": []
|
|
}
|
|
}
|
|
}
|
|
}
|