Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Multistrand #471

Open
MaxThom opened this issue Sep 19, 2021 · 1 comment
Open

Multistrand #471

MaxThom opened this issue Sep 19, 2021 · 1 comment

Comments

@MaxThom
Copy link

MaxThom commented Sep 19, 2021

Hey thanks for this amazing serie of repos! I'm using the rpi4 to drive 9 LED panels for a total of 2403 LEDs.
Everything is working great except the refresh rate for leds is really slow (10 refresh per sec). Since I have 9 panels, I want to divide the data into 3 pins, 3 panels each.
Right now, I initialize the strip on pin 18 (pwm0). I'm a bit new to wiring and gpios and im wondering if I can use others pins to have 3 instances of the ledstrip object on different pins. For example:

  • pin 18 (pwm0)
  • pin 12 (pwm0)
  • pin 13 (pwm1)

Is that something possible, or I can only use pwm0?

@Gadgetoid
Copy link
Collaborator

IIRC you can only use one output per PWM channel. You might need to investigate using SPI or PCM, too.

Or potentially look into the - albeit not as neatly packaged and good to go - SMI/DMA solution discussed here: #434

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants