|
FastLED 3.10.10
|
Software SPI output (generic cross-platform bit-banging) NOTE: This is NOT in the fl namespace per fastspi.h design requirements.
Pass DATA_RATE_MHZ()/DATA_RATE_KHZ() as the third parameter. Its unit depends on the platform: on ESP32 and Teensy 4 it is Hz, and on other platforms it is what GenericSoftwareSPIOutput consumes, normally a clock divider. The ESP32 conversion uses the compile-time CPU frequency. For a literal divider on ESP32, use fl::GenericSoftwareSPIOutput.
#include <fastspi.h>
Inheritance diagram for SoftwareSPIOutput< _DATA_PIN, _CLOCK_PIN, _SPI_CLOCK_DIVIDER >:
Collaboration diagram for SoftwareSPIOutput< _DATA_PIN, _CLOCK_PIN, _SPI_CLOCK_DIVIDER >: