Ammeded timing to suit new revision of ws2812c (#439)

Should also work with WS2813 (but untested)

Included comments on the timing calculations
This commit is contained in:
penfold42
2017-05-14 03:09:26 +10:00
committed by redPanther
parent f3a1a15324
commit 1bff517adf
2 changed files with 43 additions and 6 deletions

View File

@@ -37,5 +37,7 @@ private:
const int SPI_BYTES_PER_COLOUR;
const int SPI_FRAME_END_LATCH_BYTES;
uint8_t bitpair_to_byte[4];
};