FastLED 3.9.15
Loading...
Searching...
No Matches

◆ writeWord()

template<uint8_t DATA_PIN, uint8_t CLOCK_PIN, uint32_t SPI_SPEED>
static void AVRSoftwareSPIOutput< DATA_PIN, CLOCK_PIN, SPI_SPEED >::writeWord ( uint16_t w)
inlinestatic

Write a word (two bytes) over SPI.

Definition at line 71 of file fastspi_bitbang.h.

71{ writeByte(w>>8); writeByte(w&0xFF); }
static void writeByte(uint8_t b)
Write a single byte over SPI.
Software SPI (aka bit-banging) support Includes aggressive optimizations for when the clock and data ...

References writeByte().

+ Here is the call graph for this function: