Raspberry Pi Pinout

Legend

  • GPIO (General Purpose IO)
  • SPI (Serial Peripheral Interface)
  • I2C (Inter-integrated Circuit)
  • UART (Universal Asyncronous Receiver/Transmitter)
  • Ground
  • 5v (Power)
  • 3v (Power)

Blinkt!

Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs.

Note: First run Blinkt! boards use physical pin #2 for the 5V power supply. If your Blinkt! doesn't work with this pinout, try swapping over.

To get started you can use the one-line product installer:

curl -sS https://get.pimoroni.com/blinkt | bash

Code

from blinkt import set_pixel, show
from random import randint
from time import sleep

while True:
    for pixel in range(8):
        r = randint(0, 255)
        g = randint(0, 255)
        b = randint(0, 255)
        set_pixel(pixel, r, g, b)
        show()
        sleep(0.1)

Details

Blinkt!