mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
49d3d35de1
* Changed default baud rate in schema for ws2812spi and sk6812spi * now sets the default baud_rate speed to 2800000 if omitted. Previously it used the ProviderSPI default which was 1000000 and guaranteed not to work * Added warnings if the SPI baud rate is likely out of range Added some debug statements to ProviderSpi
23 lines
373 B
JSON
23 lines
373 B
JSON
{
|
|
"type":"object",
|
|
"required":true,
|
|
"properties":{
|
|
"output": {
|
|
"type": "string",
|
|
"title":"SPI path",
|
|
"enum" : ["/dev/spidev0.0","/dev/spidev0.1"]
|
|
},
|
|
"rate": {
|
|
"type": "integer",
|
|
"title":"Baudrate",
|
|
"default": 2666666
|
|
},
|
|
"invert": {
|
|
"type": "boolean",
|
|
"title":"Invert signal",
|
|
"default": false
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
}
|