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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file apa102_spi-1.0.tar.gz.

File metadata

  • Download URL: apa102_spi-1.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for apa102_spi-1.0.tar.gz
Algorithm Hash digest
SHA256 800bd3e19c1b6d1cffdb2cec715ec6571656fa2572bd5e724b00e13b749f82ba
MD5 88a7362e7d7800251c9818c8cba0e8c6
BLAKE2b-256 4f907f06daac23c3f9d03b27a5682c96b832308332d75a8eef5b06c846f574f5

See more details on using hashes here.

File details

Details for the file apa102_spi-1.0-py3-none-any.whl.

File metadata

  • Download URL: apa102_spi-1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for apa102_spi-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39ccc9564f2b99f40d894825f430e6f7882672c9976374c00cce3755ccac2d3b
MD5 3dca76be5daede43582e8d41b2999d72
BLAKE2b-256 bbe52cc8c3ac35ef80c48159c8a3ad0f036468a2b43f17d973171d5cfb795e7a

See more details on using hashes here.

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