A very simple threaded and thread-safe class to control a string of ws2812 LED strips using SPI interfaces on Raspberry Pi/Orange Pi/etc. single board computers (SBCs) running Linux. An activated SPI ...
The spidev library allows Python scripts to communicate with SPI devices on Raspberry Pi. This guide demonstrates how to interface with the W25Q32 (32M-bit SPI Flash Memory) using spidev, including ...
While the Raspberry Pi has very good support for an I2C bus, a lot of very cool chips – including the in system programmer for just about every ATtiny and ATmega microcontroller – use an SPI bus.
You might already have the hardware on hand to easily interface I2C and SPI devices with Python scripts on your computer. The board seen above is an FT-2232 breakout board. These chips are often used ...