json: changed JSON files to new spec

Signed-off-by: Budanov <daniil.budanov@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Budanov
2017-07-05 16:39:45 -07:00
committed by Mihai Tudor Panu
parent aaf733f41b
commit 7cd290901d
5 changed files with 13 additions and 188 deletions

View File

@ -1,13 +1,13 @@
{
{
"Library": "wheelencoder",
"Description": "Wheel Encoder Library",
"Sensor Class":
{
"WheelEncoder":
{
"Brief": "Wheel Encoder",
"Name": "Wheel Encoder",
"Description": "Wheel encoders use non-contact methods to give rotation information. This sensor was developed for the DFRobot Wheel Encoder, though it could be used for any counting time-based task. When you instantiate a class of this type, the gpio pin specified is connected to an interrupt. Whenever a low to high transition occurs on the gpio pin, the internal counter is incremented by one. This class also includes a millisecond counter, so that you can correlate the number of counts to a time period for calculating an RPM or other value as needed.",
"Known As": ["Wheel Encoder"],
"Aliases": ["SEN0038"],
"Categories": ["other"],
"Connections": ["gpio"],
"Project Type": ["prototyping"],
@ -15,7 +15,7 @@
"Kits": ["DFRobot 3PA", "DFRobot 4WD"],
"Image": "wheelencoder.jpg",
"Examples":
{
{
"Python": ["wheelencoder.py"],
"Node.js": ["wheelencoder.js"],
"C++": ["wheelencoder.cxx"],
@ -27,14 +27,6 @@
"Itotal" : {"unit": "mA", "high": 20},
"Resolution": {"unit": "ppr", "constant" : 20}
},
"Platforms":
{
"Intel Joule Module":
{
"Notes": [""],
"Images": [""]
}
},
"Urls" :
{
"Product Pages": ["https://www.dfrobot.com/product-98.html"],