package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Aug 7, 2019
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package ws2812 implements a driver for WS2812 and SK6812 RGB LED strips.
Device wraps a pin object for an easy driver interface.
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.
Write the raw bitstring out using the WS2812 protocol.
Write the given color slice out using the WS2812 protocol.
Colors are sent out in the usual GRB format.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.