FastLED 3.10.10
Loading...
Searching...
No Matches
SoftwareSPIOutput< _DATA_PIN, _CLOCK_PIN, _SPI_CLOCK_DIVIDER > Class Template Reference

Detailed Description

template<fl::u8 _DATA_PIN, fl::u8 _CLOCK_PIN, fl::u32 _SPI_CLOCK_DIVIDER>
class SoftwareSPIOutput< _DATA_PIN, _CLOCK_PIN, _SPI_CLOCK_DIVIDER >

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.

Definition at line 121 of file fastspi.h.

#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 >:

The documentation for this class was generated from the following file: