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

Replace use of deprecated new Buffer() call with Buffer.alloc() #96

Closed nicklasfrahm closed 5 years ago

nicklasfrahm commented 5 years ago

Hello guys,

just stopping by to fix a small problem described in #95.

This has been verified on the Raspberry Pi 3B+ with node v10.15.3. As per documentation, this should also be supported in older version of node, such as v6, see here.

usefulthink commented 5 years ago

Thanks a lot! Will try to publish a new release soon.

nicklasfrahm commented 5 years ago

@usefulthink You are welcome. I have to thank you for this great package! Keep up the good work!