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

Could not verify raspberry-pi version #54

Closed Stan92 closed 7 years ago

Stan92 commented 7 years ago

Hi, Trying to use the rainbow example, I got this message : Could not verify raspberry-pi version. If this is wrong and you are running this on a raspberry-pi

My node version is 7.7.4.

Using the cpuInfo object, here is what I get for the hardware section:

Hardware : BCM2835 Revision : a02082 .....

usefulthink commented 7 years ago

Is that on a raspberry-pi 3? I don't have one so I couldn't add it to the detection-code.

usefulthink commented 7 years ago

btw, the relevant code is here: https://github.com/beyondscreen/node-rpi-ws281x-native/blob/master/lib/ws281x-native.js#L37-L46

Stan92 commented 7 years ago

Yes it is a PI3 I use another one and it works

usefulthink commented 7 years ago

Thanks! I will add it to the detection-code.