2016-08-23 20:07:12 +02:00
|
|
|
{
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties":{
|
2016-08-30 23:25:27 +02:00
|
|
|
"output": {
|
|
|
|
"type": "string",
|
|
|
|
"title":"SPI path",
|
2016-09-15 19:06:21 +02:00
|
|
|
"enum" : ["/dev/spidev0.0","/dev/spidev0.1"],
|
|
|
|
"propertyOrder" : 1
|
2016-08-30 23:25:27 +02:00
|
|
|
},
|
|
|
|
"rate": {
|
|
|
|
"type": "integer",
|
|
|
|
"title":"Baudrate",
|
2016-09-15 19:06:21 +02:00
|
|
|
"default": 1000000,
|
|
|
|
"propertyOrder" : 2
|
2016-08-30 23:25:27 +02:00
|
|
|
},
|
|
|
|
"invert": {
|
|
|
|
"type": "boolean",
|
|
|
|
"title":"Invert signal",
|
2016-09-15 19:06:21 +02:00
|
|
|
"default": false,
|
|
|
|
"propertyOrder" : 3
|
2016-08-30 23:25:27 +02:00
|
|
|
}
|
2016-08-23 20:07:12 +02:00
|
|
|
},
|
|
|
|
"additionalProperties": true
|
|
|
|
}
|