diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2016-01-28 01:18:11 +0300 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2016-01-28 01:18:11 +0300 |
commit | 91d79223c078de8e0c358dce0dfacd2a62e08e11 (patch) | |
tree | 612ad733ee8f1b0f05f8d3b833bcc55cbd98e22a | |
parent | 1dda878caf6d34206211181b62a8afe445c45c5a (diff) |
Fix #253 - kick APA102 default ordering to be consistently RGB
-rw-r--r-- | chipsets.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -154,7 +154,7 @@ class WS2803Controller : public WS2801Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER, /// @tparam CLOCK_PIN the clock pin for these leds /// @tparam RGB_ORDER the RGB ordering for these leds /// @tparam SPI_SPEED the clock divider used for these leds. Set using the DATA_RATE_MHZ/DATA_RATE_KHZ macros. Defaults to DATA_RATE_MHZ(24) -template <uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER = BGR, uint8_t SPI_SPEED = DATA_RATE_MHZ(24)> +template <uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER = RGB, uint8_t SPI_SPEED = DATA_RATE_MHZ(24)> class APA102Controller : public CPixelLEDController<RGB_ORDER> { typedef SPIOutput<DATA_PIN, CLOCK_PIN, SPI_SPEED> SPI; SPI mSPI; |