11-24-2018, 04:10 PM
(11-24-2018, 12:06 AM)Mentaluproar Wrote: I want to connect a strip of neopixels to the rock64 for a project. I plan on using this: https://github.com/jgarff/rpi_ws281x
Physical pin 33 on the pi header is open so I want to use that. That means I need PWM. Is that pin able to do that on the rock64 or is that on a different pin? Do I still need to disable onboard audio or is the a raspberry pi thing? What DMA channels are available/unused?
If these should really be multiple threads, let me know and I'll break it up. I didn't want to risk spamming the forums with multiple posts for one issue.
Working on the same project. Haven't seen anyone get hardware pwm working on the Rock64. See Leapo's library for example of soft pwm, https://forum.pine64.org/showthread.php?tid=5902.
Doesn't work fantastically for LEDs though. I've been able to minimize the flicker by performing very slow transitions, and only operating on 1 or 2 channels at a time, but it's still occasionally noticeable.