|
FastLED 3.9.15
|
| fl::Spi::Spi | ( | int | clock_pin, |
| fl::span< const int > | data_pins, | ||
| spi_output_mode_t | output_mode = spi_output_mode_t::SPI_HW, | ||
| u32 | clock_speed_hz = 0xffffffff ) |
Construct and initialize SPI device.
| clock_pin | Clock pin number |
| data_pins | Data pin numbers (1-8 for SPI_HW, up to 32 for software modes) |
| output_mode | Output mode (SPI_HW for hardware, SPI_BITBANG/SPI_ISR for software) |
| clock_speed_hz | Clock speed in Hz (0xffffffff = as fast as possible) |
Definition at line 18 of file spi.cpp.hpp.
References Spi().
Here is the call graph for this function: