bibliopixel.drivers.SPI.driver module¶
-
bibliopixel.drivers.SPI.driver.
SPI
(ledtype=None, num=0, **kwargs)[source]¶ Wrapper function for using SPI device drivers on systems like the Raspberry Pi and BeagleBone. This allows using any of the SPI drivers from a single entry point instead importing the driver for a specific LED type.
Provides the same parameters of
bibliopixel.drivers.SPI.SPIBase
as well as those below:Parameters: ledtype – One of: LPD8806, WS2801, WS281X, or APA102