apa102-pi icon indicating copy to clipboard operation
apa102-pi copied to clipboard

LED Colour

Open Aidan15G opened this issue 2 years ago • 5 comments

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

Aidan15G avatar May 12 '22 18:05 Aidan15G

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

RubenMomoa avatar May 13 '22 11:05 RubenMomoa

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

Aidan15G avatar May 14 '22 09:05 Aidan15G

Use a For loop to set multiple LEDs

jamescarruthers avatar May 14 '22 10:05 jamescarruthers

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

Aidan15G avatar May 17 '22 20:05 Aidan15G

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.

tinue avatar May 20 '22 11:05 tinue