led device cleanup, bug fix and schemas (#304)

* sk6812SPI was buggy
cleaned up code - make sk6812spi and ws2812spi more consistent

* led device schema updates
This commit is contained in:
penfold42
2016-12-02 02:16:59 +11:00
committed by redPanther
parent 080059cbf5
commit 1670ec58a7
8 changed files with 70 additions and 22 deletions

View File

@@ -35,5 +35,7 @@ private:
///
virtual int write(const std::vector<ColorRgb> &ledValues);
const int SPI_BYTES_PER_COLOUR;
uint8_t bitpair_to_byte[4];
};