27 #include "LedMatrixSpi.h" 41 void LedMatrixSpi::drawElements(uint8_t pattern) {
43 uint8_t actualPattern = (mElementOn == HIGH) ? pattern : ~pattern;
virtual void spiEnd()
End SPI.
virtual void configure() override
Configure the pins for the given LED wiring.
virtual void configure() override
Configure the pins for the given LED wiring.
virtual void spiTransfer(uint8_t value)
Send byte through SPI.
virtual void digitalWrite(uint8_t pin, uint8_t value)
Write value to pin.
virtual void finish() override
Turn off the pins by doing the opposite of configure().
virtual void finish() override
Turn off the pins by doing the opposite of configure().
virtual void spiBegin()
Begin SPI.