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

◆ writeByte() [1/4]

template<uint8_t DATA_PIN, uint8_t CLOCK_PIN, uint32_t SPI_SPEED>
static void AVRSoftwareSPIOutput< DATA_PIN, CLOCK_PIN, SPI_SPEED >::writeByte ( uint8_t b)
inlinestatic

Write a single byte over SPI.

Naive implelentation, simply calls writeBit() on the 8 bits in the byte.

Definition at line 75 of file fastspi_bitbang.h.

75 {
84 }
static void writeBit(uint8_t b)
Write the BIT'th bit out via SPI, setting the data pin then strobing the clock.
Software SPI (aka bit-banging) support Includes aggressive optimizations for when the clock and data ...

References writeBit().

Referenced by writeByteNoWait(), writeBytePostWait(), writeBytes(), writeBytesValueRaw(), writePixels(), and writeWord().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: