mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41: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:
@ -48,7 +48,7 @@ namespace upm {
|
||||
* @type sound
|
||||
* @man seeed
|
||||
* @web http://www.seeedstudio.com/wiki/Grove_-_Sound_Sensor
|
||||
* @con pwm
|
||||
* @con analog
|
||||
* @kit gsk
|
||||
*
|
||||
* @brief API for the Analog Microphone
|
||||
|
31
src/mic/mic.json
Normal file
31
src/mic/mic.json
Normal file
@ -0,0 +1,31 @@
|
||||
{
|
||||
"Library": "mic",
|
||||
"Description": "Generic analog microphone library",
|
||||
"Sensor Class":
|
||||
{
|
||||
"Microphone":
|
||||
{
|
||||
"Name": "Analog Microphone",
|
||||
"Description": "This module defines the Analog Microphone sensor.",
|
||||
"Aliases": ["Grove - Sound Sensor"],
|
||||
"Categories": ["sound"],
|
||||
"Connections": ["analog"],
|
||||
"Project Type": ["prototyping", "industrial"],
|
||||
"Manufacturers": ["seeed", "dfrobot", "sparkfun", "adafruit", "generic"],
|
||||
"Kits": ["gsk"],
|
||||
"Image": "mic.jpg",
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["MicrophoneSample.java"],
|
||||
"Python": ["mic.py"],
|
||||
"Node.js": ["mic.js"],
|
||||
"C++": ["mic.cxx"]
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["http://www.seeedstudio.com/wiki/Grove_-_Sound_Sensor"],
|
||||
"Schematics": ["https://github.com/SeeedDocument/Grove_Sound_Sensor/raw/master/res/Grove%20-%20Sound%20Sensor%20v1.6%20Schematic.pdf"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user