mirror of
https://github.com/eclipse/upm.git
synced 2025-03-20 23:47:31 +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>
58 lines
2.3 KiB
JSON
58 lines
2.3 KiB
JSON
{
|
|
"Library": "rfr359f",
|
|
"Description": "Seeed RFR359 Distance Interrupter library",
|
|
"Sensor Class": {
|
|
"RFR359F": {
|
|
"Name": "API for the RFR359F-based Grove Distance Interrupter",
|
|
"Description": "This is the UPM Module for the RFR359F-based Grove Distance Interrupter. The sensitivity can be adjusted with the potentiometer on the sensor module. It has a range of approximately 4 inches and a quick response time.",
|
|
"Aliases": ["rfr359f", "Grove - IR Distance Interrupter"],
|
|
"Categories": ["light"],
|
|
"Connections": ["gpio"],
|
|
"Project Type": ["prototyping", "industrial"],
|
|
"Manufacturers": ["Seeed"],
|
|
"Kits": ["robot", "tsk"],
|
|
"Image": "rfr359f.jpg",
|
|
"Examples": {
|
|
"Java": ["RFR359F_Example.java"],
|
|
"Python": ["rfr359f.py"],
|
|
"Node.js": ["rfr359f.js"],
|
|
"C++": ["rfr359f.cxx"]
|
|
},
|
|
"Specifications": {
|
|
"Vsource": {
|
|
"unit": "V",
|
|
"min": 3.3,
|
|
"max": 5.0
|
|
},
|
|
"Supply Current": {
|
|
"unit": "mA",
|
|
"min" : 1,
|
|
"max" : 20
|
|
},
|
|
"Operating Temperature": {
|
|
"unit": "°C",
|
|
"min": -40,
|
|
"max": 85
|
|
},
|
|
"Effective Distance": {
|
|
"unit": "cm",
|
|
"min" : 7.5,
|
|
"max" : 40
|
|
}
|
|
},
|
|
"Platforms": {
|
|
"Intel Edison": {
|
|
"Notes": ["Might need Grove base shield"]
|
|
},
|
|
"Arduino 101": {
|
|
"Notes": ["Might need Grove base shield"]
|
|
}
|
|
},
|
|
"Urls": {
|
|
"Product Pages": ["https://www.seeedstudio.com/Grove-IR-Distance-Interrupter-p-1278.html", "http://wiki.seeed.cc/Grove-IR_Distance_Interrupter_v1.2/"],
|
|
"Datasheets": ["https://raw.githubusercontent.com/SeeedDocument/Grove-IR_Distance_Interrupter_v1.2/master/res/Reflective_photosensor.pdf", "https://raw.githubusercontent.com/SeeedDocument/Grove-IR_Distance_Interrupter_v1.2/master/res/LM393.pdf"]
|
|
}
|
|
}
|
|
}
|
|
}
|