Thanks Liamx2.
I remain in a world of pain!
I have uninstalled then reinstalled rpi-ws281x as well as glowbit.
I am getting a different error:
import glowbit
matrix = glowbit.matrix8x8()
Can’t open /dev/mem: Permission denied
Traceback (most recent call last):
File “”, line 1, in
File “/home/pi/.local/lib/python3.9/site-packages/glowbit.py”, line 1494, in init
self.strip.begin()
File “/home/pi/.local/lib/python3.9/site-packages/rpi_ws281x/rpi_ws281x.py”, line 131, in begin
raise RuntimeError(‘ws2811_init failed with code {0} ({1})’.format(resp, str_resp))
RuntimeError: ws2811_init failed with code -5 (mmap() failed)
I have run the terminal command suggested, then re-run the above, same error.
print(dir(glowbit))
[‘_SYSNAME’, ‘builtins’, ‘cached’, ‘doc’, ‘file’, ‘loader’, ‘name’, ‘package’, ‘spec’, ‘array’, ‘colourFunctions’, ‘colourMaps’, ‘gc’, ‘glowbit’, ‘glowbitMatrix’, ‘matrix4x4’, ‘matrix8x8’, ‘micropython’, ‘os’, ‘petme128’, ‘ptr32’, ‘rainbow’, ‘rp2’, ‘stick’, ‘time’, ‘triangle’, ‘ws’]
Surprised that all was perfectly well two days ago…Thanks for any suggestions!
Best, David