jgarff / rpi_ws281x

Userspace Raspberry Pi PWM library for WS281X LEDs
BSD 2-Clause "Simplified" License
1.78k stars 622 forks source link

Odroid C4 support #518

Closed dieseltravis closed 1 year ago

dieseltravis commented 1 year ago

I am running Hyperion on a Odroid C4 under Odroid's Ubuntu Mate install, however I get an error when using ws281x: 2023-04-03T01:42:37.890Z [LEDDEVICE|First LED Hardware instance] (ERROR) Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: Hardware revision is not supported'

Here is more info on the header pins: https://wiki.odroid.com/odroid-c4/application_note/gpio/enhancement_gpio#tab__odroid-c4 image

Gadgetoid commented 1 year ago

This library does not and will not support Odroid boards, it's too closely coupled to the Pi hardware and reliant upon specific combinations of peripheral features.

aleksas commented 1 year ago

@dieseltravis Made Odroid c4 adaptation of hepingood/ws2812b (it uses SPI MOSI pin to modulate necessary signals), hope that's helpful. Will try to improve timings as there are still some noticeable artifacts.