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
This commit is contained in:
penfold42
2016-09-04 22:28:06 +10:00
committed by redPanther
parent 4968a11816
commit 49d3d35de1
6 changed files with 34 additions and 3 deletions

View File

@@ -10,7 +10,7 @@
"rate": {
"type": "integer",
"title":"Baudrate",
"default": 1000000
"default": 2666666
},
"invert": {
"type": "boolean",

View File

@@ -10,7 +10,7 @@
"rate": {
"type": "integer",
"title":"Baudrate",
"default": 1000000
"default": 2666666
},
"invert": {
"type": "boolean",