mirror of
https://github.com/eclipse/upm.git
synced 2025-12-25 02:00:46 +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>
48 lines
1.7 KiB
JSON
48 lines
1.7 KiB
JSON
{
|
|
"Library": "adafruitss",
|
|
"Description": "Adafruit Servo Shield",
|
|
"Sensor Class":
|
|
{
|
|
"adafruitss":
|
|
{
|
|
"Name": "Adafruit PCA9685-based Servo Shield library",
|
|
"Description": "UPM library for the PCA9685-based Adafruit 16-channel servo shield.",
|
|
"Aliases": ["adafruitss"],
|
|
"Categories": ["servos"],
|
|
"Connections": ["i2c"],
|
|
"Project Type": ["servos"],
|
|
"Manufacturers": ["adafruit"],
|
|
"Kits": [],
|
|
"Image": "adafruitss.jpg",
|
|
"Examples":
|
|
{
|
|
"Java": [],
|
|
"Python": [],
|
|
"Node.js": [],
|
|
"C++": ["adafruitss.cxx"],
|
|
"C": []
|
|
},
|
|
"Specifications":
|
|
{
|
|
"Vmotor": {"unit": "v", "low": 0, "high": 6},
|
|
"Vlogic": {"unit": "V", "low": 3.3, "high": 5},
|
|
"PWM Frequency": {"unit": "KHz", "high": 1.6}
|
|
},
|
|
"Platforms":
|
|
{
|
|
"Intel Joule Module":
|
|
{
|
|
"Notes": ["If 3 or more GWS servos are attached, results could be unpredictable. Adafruit Industries recommend installing a capacitor on the board, which should alleviate the issue. Sizing depends on servos and their number."],
|
|
"Images": [""]
|
|
}
|
|
},
|
|
"Urls" :
|
|
{
|
|
"Product Pages": ["http://www.adafruit.com/product/1411"],
|
|
"Datasheets": ["https://cdn-shop.adafruit.com/datasheets/PCA9685.pdf"],
|
|
"Schematics": ["https://learn.adafruit.com/assets/36081"]
|
|
}
|
|
}
|
|
}
|
|
}
|