-
Notifications
You must be signed in to change notification settings - Fork 343
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
LED Channel as one of parameters for NeoPixel #816
Comments
This would be handled internally by https://github.com/adafruit/Adafruit_Blinka/blob/main/src/adafruit_blinka/microcontroller/bcm283x/neopixel.py so you wouldn't need to specify the channel. But there are limitations that appear to make using both channels not possible. See #103, especially the last post. That issue, or the Blinka repo in general, is the best place for this discussion. |
So the CircuitPython NeoPixel works only on PWM0 pins (GPIO12 and 18) and
not on PWM1 (GPIO13 and 19) pins coz the LED_CHANNEL on the neopixel.py is explicitly set
to PWM0? That's too bad, I personally like the functions of the NeoPixel
class. I also essentially made a script that I just found out that is
similar to the multistrandtest.py (coz I'll be running two strips), so I
think I'll stick to rpi_ws281x for now. Thanks
…On Fri, Apr 19, 2024, 9:26 PM Dan Halbert ***@***.***> wrote:
This would be handled internally by
https://github.com/adafruit/Adafruit_Blinka/blob/main/src/adafruit_blinka/microcontroller/bcm283x/neopixel.py
so you wouldn't need to specify the channel.
But there are limitations that appear to make using both channelsnot
possible. See adafruit/Adafruit_Blinka#103
<#103>, especially the
last post.
—
Reply to this email directly, view it on GitHub
<#816>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOZAPMISHNXLEGIVQWDRT2DY6ELSHAVCNFSM6AAAAABGOQBM36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRWGU4DIOBYGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Transferring this issue to the Blinka repo. I don't understand what the issue is, but it seems to be a limitation in how to deal with the PWM channels. |
I'm going to reopen as it's a good suggestion, but I'll need to think about the best way to implement this without modifying the neopixel library. |
Hello, can you please add the LED Channel as one of the parameters when creating an instance of NeoPixel? This is so that we could use GPIO13 and GPIO19, which are on a different LED channel on a Raspberry Pi 4
The text was updated successfully, but these errors were encountered: