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>
44 lines
1.6 KiB
JSON
44 lines
1.6 KiB
JSON
{
|
|
"Library": "pulsensor",
|
|
"Description": "Pulse Sensor library",
|
|
"Sensor Class": {
|
|
"Pulsensor": {
|
|
"Name": "C++ API for the Adafruit 3-Wire Pulse Sensor",
|
|
"Description": "This is the UPM Module for the Adafruit 3-Wire Pulse Sensor. It can be used by students, artists, athletes, makers, and game & mobile developers who want to easily incorporate live heart-rate data into their projects.",
|
|
"Aliases": ["pulsensor", "Pulse Sensor Amped"],
|
|
"Categories": ["other"],
|
|
"Connections": ["analog"],
|
|
"Project Type": ["medical", "prototyping"],
|
|
"Manufacturers": ["Adafruit"],
|
|
"Image": "pulsensor.jpg",
|
|
"Examples": {
|
|
"Java": ["Pulsensor_Example.java"],
|
|
"C++": ["pulsensor.cxx"]
|
|
},
|
|
"Specifications": {
|
|
"Vsource": {
|
|
"unit": "V",
|
|
"min": 3,
|
|
"max": 5
|
|
},
|
|
"Operating Temperature": {
|
|
"unit": "°C",
|
|
"min": -40,
|
|
"max": 85
|
|
}
|
|
},
|
|
"Platforms": {
|
|
"Intel Joule Module": {
|
|
},
|
|
"Intel Edison": {
|
|
},
|
|
"Arduino 101": {
|
|
}
|
|
},
|
|
"Urls": {
|
|
"Product Pages": ["https://www.adafruit.com/product/1093", "https://media.digikey.com/pdf/Data%20Sheets/Pulse%20PDFs/PulseSensorAmpedGettingStartedGuide.pdf"]
|
|
}
|
|
}
|
|
}
|
|
}
|