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

64 lines
2.7 KiB
JSON

{
"Library": "mma7455",
"Description": "NXP MMA7455 Accelerometer library",
"Sensor Class": {
"MMA7455": {
"Name": "API for the NXP MMA7455 Accelerometer",
"Description": "This is the UPM Module for the NXP MMA7455 Accelerometer. The MMA7455L 3-Axis Digital Output Accelerometer is a low power, micro machined sensor capable of measuring acceleration along its X, Y, and Z axes. It offers several convenient integrated features including an analog to digital converter (ADC), digital low-pass filter, and selectable sensitivity ranges of ±2g, ±4g, or ±8g. This device can be easily configured to detect quick motion pulses as single taps, double taps, and 0g (free fall) conditions on any or all axes and provides configurable interrupt pins (INT1 and INT2) for each type of event.",
"Aliases": ["mma7455", "MMA7455 3-Axis Accelerometer Module"],
"Categories": ["accelerometer"],
"Connections": ["i2c", "spi"],
"Project Type": ["prototyping", "robotics"],
"Manufacturers": ["NXP", "Freescale"],
"Image": "mma7455.jpg",
"Examples": {
"Java": ["MMA7455_Example.java"],
"C++": ["mma7455.cxx"]
},
"Specifications": {
"Vsource": {
"unit": "V",
"min": 2.5,
"max": 5.5
},
"Operating Temperature": {
"unit": "°C",
"min": -40,
"max": 85
},
"Sensitivity": {
"unit": "g",
"min": 2,
"max": 10
},
"Supply Current":{
"Standby Mode": {
"unit": "uA",
"typ": 26
},
"Full Operation": {
"unit": "mA",
"typ": "<3"
}
}
},
"Platforms": {
"Intel Joule Module": {
"Notes": ["Might need pull up resistors"]
},
"Intel Edison": {
"Notes": ["Might need pull up resistors"]
},
"Arduino 101": {
"Notes": ["Might need pull up resistors"]
}
},
"Urls": {
"Product Pages": ["https://www.parallax.com/product/28526"],
"Datasheets": ["https://www.parallax.com/sites/default/files/downloads/28526-Freescale-MMA7455L-Device-Documentation.pdf"]
}
}
}
}