hyperion.ng/libsrc/leddevice/schemas/schema-ws2812spi.json
penfold42 49d3d35de1 Ws2812spi and sk6812rgbw have wrong default rate (#221)
* 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
2016-09-04 14:28:06 +02:00

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
}