Skip to main content

Python library for controlling APA102 LEDs through SPI

Project description

APA102_SPI

Library for controlling APA102 LEDs through any SPI bus.

This library was created because any other library I found couldn't use any SPI bus other than spi0. As the APA102 LEDs don't have a Chip Select, they have to be on a seperate bus without any other devices attached.
On a Raspberry Pi 4, there are additional SPI busses that can be enabled by appending to /boot/config.txt. For example, to enable SPI5:

enable_uart=0
dtoverlay=spi5-1cs

Here, UART0 has to be disabled, as it shares pins with SPI5.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apa102_spi-1.0.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

apa102_spi-1.0-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page