Class Sk6812
Represents the SK6812 Driver.
public class Sk6812 : Ws28xx
- Inheritance
-
Sk6812
- Inherited Members
Constructors
Sk6812(SpiDevice, int, int)
Initializes a new instance of the Sk6812 class.
public Sk6812(SpiDevice spiDevice, int width, int height = 1)
Parameters
Properties
DefaultSpiClockFrequency
Gets the default SPI clock frequency.
public static int DefaultSpiClockFrequency { get; }
Property Value
- int
The default SPI clock frequency used for SK6812-LED-Strips.
Remarks
This frequency defines how fast the data will be put on the line. The SK6812-strip requires a speed of 1.25 kHz. A single byte takes 1.2 µs for the transfer, the value for a single LED of 32 bit amounts to 38.4 µs.