mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 21:17:29 +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>
33 lines
1.4 KiB
JSON
33 lines
1.4 KiB
JSON
{
|
|
"Library": "led",
|
|
"Description": "LED library",
|
|
"Sensor Class":
|
|
{
|
|
"Led":
|
|
{
|
|
"Name": "Light-emitting Diode (LED)",
|
|
"Description": "UPM module for the LED (or other similar light-emitting diodes). An LED is a p-n junction semiconductor which emits light in response to voltage. The longer wire of an LED connects to the positive seat (anode); the shorter wire connects to the negative seat (cathode). The flat side of the bulb corresponds to the cathode, while the rounded side corresponds to the anode.",
|
|
"Aliases": ["Grove - LED"],
|
|
"Categories": ["led"],
|
|
"Connections": ["gpio"],
|
|
"Project Type": ["prototyping", "industrial"],
|
|
"Manufacturers": ["seeed", "dfrobot", "sparkfun", "adafruit", "generic"],
|
|
"Kits": ["gsk"],
|
|
"Image": "led.jpg",
|
|
"Examples":
|
|
{
|
|
"Java": ["LED_Example.java"],
|
|
"Python": ["led.py"],
|
|
"Node.js": ["led.js"],
|
|
"C++": ["led.cxx"],
|
|
"C": ["led.c"]
|
|
},
|
|
"Urls" :
|
|
{
|
|
"Product Pages": ["http://wiki.seeed.cc/Grove-LED_Socket_Kit/"],
|
|
"Schematics": ["https://github.com/SeeedDocument/Grove-LED_Socket_Kit/raw/master/res/Grove-LED_v1.3_Schematics.zip"]
|
|
}
|
|
}
|
|
}
|
|
}
|