LED: pin 18 needs 'sudo'
szafranski opened this issue · 6 comments
szafranski commented
why?
szafranski commented
Program needs sudo permissions cause it access physical memory. Walkarounds are:
opening server.py with sudo or changing permissions for server.py to access /dev/mem without sudo.
szafranski commented
szafranski commented
Reported on rpi_ws2812b GH. Waiting for response
szafranski commented
Solutions:
'sudo python server.py' - inconvenient
or
'sudo chmod -R 777 /dev/mem' - dangerous
szafranski commented
Consulting with Michael now
szafranski commented
User would have to use server as a service or sudo or just pin 10 - it doesn't require sudo since it is SPI pin