mirror of
https://github.com/eclipse/upm.git
synced 2025-03-18 22:47:28 +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>
41 lines
1.6 KiB
JSON
41 lines
1.6 KiB
JSON
{
|
|
"Library": "buzzer",
|
|
"Description": "Generic library for piezoelectric buzzers",
|
|
"Sensor Class":
|
|
{
|
|
"Buzzer":
|
|
{
|
|
"Name": "Buzzer",
|
|
"Description": "This module defines the Buzzer interface for libbuzzer. This sensor can make different tones when connected to a pin capable of analog pulse-width modulation. It emits sound using a piezoelectric material that vibrates at different frequencies based on the input voltage.",
|
|
"Aliases": ["Grove - Buzzer"],
|
|
"Categories": ["sound"],
|
|
"Connections": ["pwm"],
|
|
"Project Type": ["prototyping", "industrial"],
|
|
"Manufacturers": ["seeed", "dfrobot", "sparkfun", "adafruit", "generic"],
|
|
"Kits": ["gsk"],
|
|
"Image": "buzzer.jpg",
|
|
"Examples":
|
|
{
|
|
"Java": ["Buzzer_Example.java"],
|
|
"Python": ["buzzer.py"],
|
|
"Node.js": ["buzzer.js"],
|
|
"C++": ["buzzer.cxx"],
|
|
"C": ["buzzer.c"]
|
|
},
|
|
"Platforms":
|
|
{
|
|
"Intel Edison":
|
|
{
|
|
"Notes": ["Might not work correctly with early versions of MRAA/UPM libraries, please use the latest versions."]
|
|
}
|
|
},
|
|
"Urls" :
|
|
{
|
|
"Product Pages": ["http://wiki.seeed.cc/Grove-Buzzer/"],
|
|
"Datasheets": ["https://cdn.sparkfun.com/datasheets/Components/General/cem-1203-42-.pdf"],
|
|
"Schematics": ["https://easyeda.com/Seeed/Grove_Buzzer_v1_2-c713baf3c1774da39ce0c995544ce5da"]
|
|
}
|
|
}
|
|
}
|
|
}
|