I’ve just received a Unicorn Hat for my Raspberry Pi B+ and used ‘\curl -sS get.pimoroni.com/unicornhat | bash’ to install all of the dependencies, sample code, etc. However when I try to execute the sample scripts I get a ‘Failed to open /dev/mem: Permission denied’ error.
I can run the scripts if I use sudo but I’m guessing that this isn’t usual/right.
Does anyone know what I’ve done wrong and how I can possibly fix it?
I’m logging into my Pi as a user called simon which is a sudoer but wanted to mention it incase it is related to not being logged in as ‘pi’.