Quantcast
Channel: Support - Pimoroni Buccaneers
Viewing all articles
Browse latest Browse all 6851

Unicorn HAT without sudo

$
0
0

Is there an way to make the Unicorn HAT (https://shop.pimoroni.com/products/unicorn-hat) usable without having to run every python script under sudo?

I’m not looking for something like “hey you can run sudo idle in a terminal window”, I’m looking for something like what under /dev/ or /sys/ can I make writable by the gpio group that the pi user is a member of by default, so that a python script that uses the HAT can work without using sudo. I’ve found various information online about making PWM stuff usable without sudo but none of it has made the HAT usable without sudo.

The HAT is attached to a Pi3 running Raspberry Pi OS 10.

6 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 6851

Trending Articles