This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <FastLED.h> | |
template <uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER = BGR, uint8_t SPI_SPEED = DATA_RATE_MHZ(24)> | |
class APA102Controller_WithBrightness : public CLEDController { | |
typedef SPIOutput<DATA_PIN, CLOCK_PIN, SPI_SPEED> SPI; | |
SPI mSPI; | |
uint8_t bBaseValue; | |
void startBoundary() { mSPI.writeWord(0); mSPI.writeWord(0); } |