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

Thread: How to output same data to all pins octows2811

  1. #1
    Junior Member
    Join Date
    Apr 2019
    Posts
    3

    How to output same data to all pins octows2811

    I have a project with multiple strips of LEDs, all the same size. I'd like each strip to display the same visualization at the same time.
    I've tried searching for this, but I keep falling into parallel outputs, which seem to be for speeding up outputs, which isn't what I'm going after.

  2. #2
    Senior Member crees's Avatar
    Join Date
    Dec 2016
    Location
    Utah
    Posts
    143
    How Many strips?

  3. #3
    Junior Member
    Join Date
    Apr 2019
    Posts
    3
    I'm using four strips of approximately 100

  4. #4
    Senior Member crees's Avatar
    Join Date
    Dec 2016
    Location
    Utah
    Posts
    143
    Ok so you are within the 8 that the octo library uses. Study how it works. More specifically the artnet example. Look for the part where data is inserted into the array. I would be creative with your loop code and insert it into the array starting at 0 (like normal) and then insert it again at 100, 200, 300. What the octo code will do is divide it out on each port essentially giving you multiple copies. Make sure you define 100 pixels per strip and satisfy the defines accordingly. You have me thinking on the best cleanest way to do this without excessive looping but it should work


    Remember the array starts at 0.

Tags for this Thread

Posting Permissions

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