Documentation ¶
Overview ¶
Package ws2812 implements a driver for WS2812 and SK6812 RGB LED strips.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
Device wraps a pin object for an easy driver interface.
func New ¶
New returns a new WS2812 driver. It does not touch the pin object: you have to configure it as an output pin before calling New.
Click to show internal directories.
Click to hide internal directories.