Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Multistrand PWM0 and PWM 1 #72

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

Multistrand PWM0 and PWM 1 #72

MaxThom opened this issue Sep 20, 2021 · 1 comment

Comments

@MaxThom
Copy link
Contributor

MaxThom commented Sep 20, 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?

@godmar
Copy link

godmar commented Nov 4, 2023

I'm using the following pins on a Raspberry Pi 3b to drive 3 independent strands

  • GPIO 18 - PWM0
  • GPIO 19 - PWM1
  • GPIO 21 - PCM

This works well. See here.

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

No branches or pull requests

2 participants