mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
080059cbf5
* Added latchtime web configuration for ws2801 device. Fixed default to be 500000ns * cleaner code using defaults and added "ns" to web schema * oops... "ns" not "ms"
34 lines
736 B
JSON
34 lines
736 B
JSON
{
|
|
"type":"object",
|
|
"required":true,
|
|
"properties":{
|
|
"output": {
|
|
"type": "string",
|
|
"title":"SPI path",
|
|
"enum" : ["/dev/spidev0.0","/dev/spidev0.1"],
|
|
"propertyOrder" : 1
|
|
},
|
|
"rate": {
|
|
"type": "integer",
|
|
"title":"Baudrate",
|
|
"default": 1000000,
|
|
"propertyOrder" : 2
|
|
},
|
|
"latchtime": {
|
|
"type": "integer",
|
|
"title":"Latchtime",
|
|
"default": 500000,
|
|
"append" : "ns",
|
|
"propertyOrder" : 3
|
|
},
|
|
"invert": {
|
|
"type": "boolean",
|
|
"format": "checkbox",
|
|
"title":"Invert signal",
|
|
"default": false,
|
|
"propertyOrder" : 4
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
}
|