jgarff / rpi_ws281x

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

runtime error ws2811_init failed with code -5 (mmap() failed) #524

Open usedt-54 opened 9 months ago

usedt-54 commented 9 months ago

im new to this and i might just be being dumb but when i run strandtest.py with terminal it keeps throwing this runtime error.

Hoping someone can help.

Thanks!

batu commented 8 months ago

Try runnning it with sudo.