Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Mapping OctoWS2811 pins on Teensy 4

  1. #1

    Mapping OctoWS2811 pins on Teensy 4

    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

  2. #2
    Junior Member
    Join Date
    Sep 2020
    Posts
    14
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •