beyondscreen / node-rpi-ws281x-native

native bindings to drive WS2811 (or WS2812) LED-Controllers on a Raspberry Pi
MIT License
224 stars 101 forks source link

Stability issues on Pi Zero W #97

Open cinderblock opened 5 years ago

cinderblock commented 5 years ago

I've been trying to run this on a Pi Zero W. I'm calling render() in a setInterval(..., 1000/40) loop. It usually works for a few seconds and then hangs and locks up somewhere in the middle of the render() call (never returns, Interval doesn't run again).

Is there some compatibility/flag I'm missing?

and-who commented 4 years ago

I have a similar behavior on the Raspberry Pi 3 B+. Perhaps this has nothing to do with the Pi Zero W.

This solved it for me: https://github.com/beyondscreen/node-rpi-ws281x-native/issues/61#issuecomment-403127059

cinderblock commented 4 years ago

Oh! That might be it!

It's been a minute and I went a different route. I'll try this out again soon :)