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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
800bd3e19c1b6d1cffdb2cec715ec6571656fa2572bd5e724b00e13b749f82ba
|
|
| MD5 |
88a7362e7d7800251c9818c8cba0e8c6
|
|
| BLAKE2b-256 |
4f907f06daac23c3f9d03b27a5682c96b832308332d75a8eef5b06c846f574f5
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39ccc9564f2b99f40d894825f430e6f7882672c9976374c00cce3755ccac2d3b
|
|
| MD5 |
3dca76be5daede43582e8d41b2999d72
|
|
| BLAKE2b-256 |
bbe52cc8c3ac35ef80c48159c8a3ad0f036468a2b43f17d973171d5cfb795e7a
|