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

◆ writeBytesValue()

template<uint8_t DATA_PIN, uint8_t CLOCK_PIN, uint32_t SPI_SPEED>
void AVRSoftwareSPIOutput< DATA_PIN, CLOCK_PIN, SPI_SPEED >::writeBytesValue ( uint8_t value,
int len )
inline

Write multiple bytes of the given value over SPI.

Useful for quickly flushing, say, a line of 0's down the line.

Parameters
valuethe value to write to the bus
lenhow many copies of the value to write

Definition at line 246 of file fastspi_bitbang.h.

246 {
247 select();
249 release();
250 }
void select()
Select the SPI output (chip select)
void release()
Release the SPI chip select line.
static void writeBytesValueRaw(uint8_t value, int len)
Write multiple bytes of the given value over SPI, without selecting the interface.
Software SPI (aka bit-banging) support Includes aggressive optimizations for when the clock and data ...

References release(), select(), and writeBytesValueRaw().

+ Here is the call graph for this function: