Mapping OctoWS2811 pins on Teensy 4

Status
Not open for further replies.

Ausplex

Active member
Hi, I'm just clarifying that I really can use ANY combination of pins on a Teensy 4.1 for use in the OctoWS2811 library.

For example:
const int numPins = 20;
byte pinList[numPins] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19};

I do have an application that may certainly need at least 12. However only a relatively small number of LEDs on each chain (maybe 30-ish ledsPerStrip).

I assume that the WS2811 LEDs are numbered based on the order of the pins in the array, e.g. (based on 30 leds per strip):
pin 0: 0-29
pin 1: 30-59
pin 2: 60-89
etc.....

thanks
 
There may be some pins you can't use to drive ws2811s. I use 32 pins in one of my projects, using the pins that fastled has set aside for the t4. It works quite well.
 
Status
Not open for further replies.
Back
Top