You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening this issue. I ran into the same problem and found, with some help, a workaround.
npm install rpi-ws281x
Update the file 'rpihw.c' (which is located in "node_modules - rpi-ws281x - src - rpi_ws281x"). I added:
{
.hwver= 0xd03115,
.type= RPI_HWVER_TYPE_PI4,
.periph_base= PERIPH_BASE_RPI4,
.videocore_base= VIDEOCORE_BASE_RPI2,
.desc= "Pi 4 Model B - 8GB v1.5"
},
The newest Raspberry Pis (at least from Canakit on Amazon) will fail in the https://github.com/jgarff/rpi_ws281x dependency until jgarff/rpi_ws281x#483 is resolved.
When the issue is resolved and solution is pushed there, looking forward to the https://www.npmjs.com/package/rpi-ws281x update.
The text was updated successfully, but these errors were encountered: