LED stick RPi Grove Base Hat non root

**Hi, I found I was able to use Grove-RGB_LED_Stick-10-WS2813_Mini on a Grove Base Hat and Raspberry Pi, with the led strip example (there’s no stick example) grove_ws2813_rgb_led_strip.py (in the installed grove.py)

The only thing is it wants to run as sudo, without it (and commenting out the helper.root_check()) it errors with Can’t open /dev/mem: Permission denied in rpi_ws281x.py. Is this unavoidable? Later I’d like to automate the stick with a non sudo user.

1 Like

Nevermind, after googling around it turns out it needs sudo for timing reasons.