jgarff / rpi_ws281x

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

Pin 38 is not supported for SPI1 #361

Open bendem opened 5 years ago

bendem commented 5 years ago

The README says the pin 38 is usable for SPI, but the code doesn't support it.

https://github.com/jgarff/rpi_ws281x/blob/a8441f67991574bf4fcee346a83e8420f17e5c58/ws2811.c#L675 and https://github.com/jgarff/rpi_ws281x/blob/a8441f67991574bf4fcee346a83e8420f17e5c58/ws2811.c#L662-L664

Gadgetoid commented 5 years ago

Million dollar question- which one is wrong?

Gadgetoid commented 5 years ago

I think the readme is wrong, based on the information reported in #331 but the code also clearly disagrees with the readme either way.