New to raspberry


#1

i get this message when i run a script on python 3.5. i was using this pi zero as an ok to wake for our special needs child and it all of a sudden quit so i put this canned code in and get the same message.

Traceback (most recent call last):
File “/home/pi/Pimoroni/unicornhat/examples/rainbow_blinky.py”, line 12, in
import unicornhat as unicorn
File “/usr/local/lib/python3.5/dist-packages/unicornhat.py”, line 35, in
ws2812.begin()
File “/usr/local/lib/python3.5/dist-packages/rpi_ws281x/rpi_ws281x.py”, line 117, in begin
raise RuntimeError(‘ws2811_init failed with code {0} ({1})’.format(resp, str_resp))
RuntimeError: ws2811_init failed with code -5 (mmap() failed)

Thanks

Ed