zedin
Posts: 38
Joined: Tue Oct 18, 2011 1:20 pm

How to read/write GPIO in python without sudo?

Thu Nov 15, 2012 2:18 am

So from the recent magpi issues I was reading about accessing the GPIO from python without having to always sudo stuff. I really dislike always using sudo since if your program misbehaves who knows what will happen. Anyway.. Is there a good way to read or write the GPIO in python without using sudo? I only understood half the magpi article so maybe that is the only real option and I need to go back but wanted to know if there was any 'default' standard way.

Return to “Python”