upm/src/grovemoisture/grovemoisture.json
Noel Eck c54d6de054 JAVA: Unified Java Example names
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>
2018-02-27 15:28:48 -08:00

39 lines
1.6 KiB
JSON

{
"Library": "grovemoisture",
"Description": "API for the Grove Moisture Sensor",
"Sensor Class":
{
"GroveMoisture":
{
"Name": "Grove Moisture Sensor",
"Description": "UPM module for the Grove Moisture Sensor. This sensor can be used to detect the moisture content of soil or whether there is water around the sensor. As the moisture content increases, so does the value that is read. Note: this sensor is not designed to be left in soil nor to be used outdoors.",
"Aliases": ["grovemoisture"],
"Categories": ["moisture"],
"Connections": ["analog"],
"Project Type": ["liquid", "prototyping"],
"Manufacturers": ["seeed"],
"Kits": ["eak", "hak"],
"Image": "grovemoisture.jpg",
"Examples":
{
"Java": ["GroveMoisture_Example.java"],
"Python": ["grovemoisture.py"],
"Node.js": ["grovemoisture.js"],
"C++": ["grovemoisture.cxx"],
"C": []
},
"Specifications": {
"Vsource": {"unit": "V", "min": 3.3, "max": 5 },
"Operating Temperature": {"unit": "°C", "min": -40, "max": 85 },
"Supply Current": {"unit": "mA", "min" : 0, "max" : 35 }
},
"Urls" :
{
"Product Pages": ["https://www.seeedstudio.com/Grove-Moisture-Sensor-p-955.html"],
"Datasheets": ["http://wiki.seeed.cc/Grove-Moisture_Sensor/"],
"Schematics": []
}
}
}
}