adafruit_pixie - Pixie LED driver

  • Author(s): Damien P. George, Limor Fried, Kattni Rembor
class adafruit_pixie.Pixie(uart, n, *, brightness=1.0, auto_write=True)

PIxie LEDs.

  • uart – The UART object.
  • n (int) – The number of Pixies in the chain.
  • brightness (float) – Brightness of the pixels between 0.0 and 1.0.
  • auto_write (bool) – True if the Pixies should immediately change when set. If False, show must be called explicitly.

Example for two Pixie LEDs chained:


Overall brightness of the pixel


Colors all pixels the given *color*.


Shows the new colors on the pixels themselves if they haven’t already been autowritten.