upm/src/hmc5883l/hmc5883l.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

40 lines
1.7 KiB
JSON

{
"Library": "hmc5883l",
"Description": "HMC5883L Magnetometer Library",
"Sensor Class":
{
"Hmc5883l":
{
"Name": "Grove 3-Axis Digital Compass",
"Description": "Honeywell [HMC5883L] (http://www.adafruit.com/datasheets/HMC5883L_3-Axis_Digital_Compass_IC.pdf) is a 3-axis digital compass. Communication with HMC5883L is simple and all done through an I2C interface. Different breakout boards are available. Typically, a 3V supply is all that is needed to power the sensor.",
"Aliases": ["hmc5883l"],
"Categories": ["compass", "magnetometer"],
"Connections": ["i2c"],
"Project Type": ["IMU", "prototyping"],
"Manufacturers": ["seeed", "honeywell"],
"Kits": ["robok"],
"Examples":
{
"Java": ["Hmc5883l_Example.java"],
"Python": ["hmc5883l.py"],
"Node.js": ["hmc5883l.js"],
"C++": ["hmc5883l.cxx"],
"C": ["hmc5883l.c"]
},
"Specifications":
{
"Operating Voltage": {"unit": "V", "low": 3.3, "high": 5},
"Operating Current": {"unit": "uA", "low": 2.5, "high": 640},
"Output Rate": {"unit": "Hz", "max": 116}
},
"Urls" :
{
"Product Pages": ["https://www.seeedstudio.com/Grove-3-Axis-Digital-Compass-p-759.html"],
"Datasheets": ["http://wiki.seeed.cc/Grove-3-Axis_Compass_V1.0/", "https://raw.githubusercontent.com/SeeedDocument/Grove-3-Axis_Compass_V1.0/master/res/HMC5883.pdf"],
"Schematics": []
}
}
}
}