mirror of
https://github.com/eclipse/upm.git
synced 2025-07-04 10:51:12 +03:00
json: adding more JSON spec examples
JSON files for: bmp280, button, buzzer, led, mic, temperature. Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
32
src/led/led.json
Normal file
32
src/led/led.json
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"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": ["LEDSample.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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user