cpldcpu / light_ws2812

Light weight library to control WS2811/WS2812 based LEDS and LED Strings for 8-Bit AVR microcontrollers.
GNU General Public License v3.0
958 stars 207 forks source link

WS2812B with BeagleBone Black #92

Closed rajmehta28599 closed 3 years ago

rajmehta28599 commented 3 years ago

Aim: Control WS2812B Led Strip with BeagleBone Black in C language.

Thank you for your contribution. I read your readme file. you also provide c code but related to AVR boards can you help me with changes related to BeagleBone Black(Linux).

Thank you.

cpldcpu commented 3 years ago

I don't think bitbanging, as used in this library, is the right approach on the beagle bone black. I am certain there are SPI based solutions out there.

ole00 commented 2 years ago

Beagleboe has 2 PRU Units - basically 2 small MCU's that can do the bitbanging independently on Linux. There is an interface that can feed the PRU's with the data (LED colours) into 8kbytes shared buffer between Linux userspace (mmapped memory area) and a PRU. Just a thought, maybe that's not the most practical solution though.