tinue / apa102-pi

Pure Python library to drive APA102 LED stripes; Use with Raspberry Pi.
GNU General Public License v2.0
201 stars 71 forks source link

LED Colour #51

Closed Aidan15G closed 1 year ago

Aidan15G commented 2 years ago

Is there a way I can make all the LEDs turn a specific colour, for example red.

RubenMomoa commented 2 years ago

you should take a look at the sample file https://github.com/tinue/apa102-pi/blob/main/sample.py

Aidan15G commented 2 years ago

This only shows how to make an individual LED a particular color not all.

jamescarruthers commented 2 years ago

Use a For loop to set multiple LEDs

Aidan15G commented 2 years ago

I encountered an other issue. It is there a way to make the pins work with the board mode set as BOARD.

tinue commented 2 years ago

Sorry, I am not familiar with "board mode". It sounds like something inside of the Adafruit libraries, so I would suggest to ask directly in one of the Adafruit forums.