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>
54 lines
1.8 KiB
JSON
54 lines
1.8 KiB
JSON
{
|
|
"Library": "scam",
|
|
"Description": "Seeed Serial Camera library",
|
|
"Sensor Class": {
|
|
"SCAM": {
|
|
"Name": "API for the Seeed Serial Camera",
|
|
"Description": "This is the UPM Module for the Seeed Serial Camera. There is no protocol documentation currently available, so this module was developed based completely on the Seeed Studio* Arduino* sketch.",
|
|
"Aliases": ["scam", "Grove - Serial Camera Kit"],
|
|
"Categories": ["other"],
|
|
"Connections": ["uard"],
|
|
"Project Type": ["prototyping"],
|
|
"Manufacturers": ["Seeed"],
|
|
"Image": "scam.jpg",
|
|
"Examples": {
|
|
"Java": ["SCAM_Example.java"],
|
|
"Python": ["scam.py"],
|
|
"Node.js": ["scam.js"],
|
|
"C++": ["scam.cxx"]
|
|
},
|
|
"Specifications": {
|
|
"Vsource": {
|
|
"unit": "V",
|
|
"typ" : 5.0
|
|
},
|
|
"Operating Temperature": {
|
|
"unit": "°C",
|
|
"min": -40,
|
|
"max": 85
|
|
},
|
|
"Resolution": {
|
|
"unit": "pixels",
|
|
"res": "160x120"
|
|
},
|
|
"UART Baud Rate": {
|
|
"unit": "Baud",
|
|
"min" : 9600,
|
|
"max" : 115200
|
|
}
|
|
},
|
|
"Platforms": {
|
|
"Intel Edison": {
|
|
"Notes": ["Might need Grove base shield"]
|
|
},
|
|
"Arduino 101": {
|
|
"Notes": ["Might need Grove base shield"]
|
|
}
|
|
},
|
|
"Urls": {
|
|
"Product Pages": ["http://wiki.seeed.cc/Grove-Serial_Camera_Kit/"]
|
|
}
|
|
}
|
|
}
|
|
}
|