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
|
|
|
},
|
2016-12-01 10:00:52 +01:00
|
|
|
"latchtime": {
|
|
|
|
"type": "integer",
|
2016-12-02 12:07:24 +01:00
|
|
|
"title":"Latch time",
|
2016-12-01 10:00:52 +01:00
|
|
|
"default": 500000,
|
|
|
|
"append" : "ns",
|
|
|
|
"propertyOrder" : 3
|
|
|
|
},
|
2016-08-30 23:25:27 +02:00
|
|
|
"invert": {
|
|
|
|
"type": "boolean",
|
2016-09-15 19:06:21 +02:00
|
|
|
"format": "checkbox",
|
2016-08-30 23:25:27 +02:00
|
|
|
"title":"Invert signal",
|
2016-09-15 19:06:21 +02:00
|
|
|
"default": false,
|
2016-12-01 10:00:52 +01:00
|
|
|
"propertyOrder" : 4
|
2016-08-30 23:25:27 +02:00
|
|
|
}
|
2016-08-23 20:07:12 +02:00
|
|
|
},
|
|
|
|
"additionalProperties": true
|
|
|
|
}
|