I just received my BBB and installed the GPIO library. then I discovered If I develop my python programs in Geany I can't get the IO to work.
are there plans to correct this or will I have to do all my I/O programming in root and loose the benefits of a GUI interface?
GPIO library ok in root but not user
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- colin_t
- Posts: 2
- Joined: Tue Sep 09, 2014 2:01 am
Re: GPIO library ok in root but not user
Ok I found a fix
in the set build command I added sudo before python in the Compile and execute options
my Led now blinks
in the set build command I added sudo before python in the Compile and execute options
my Led now blinks
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: GPIO library ok in root but not user
Yep.. the OS puts access restrictions on hardware IO. You need to execute the scripts as root, or with sudo.
Please be positive and constructive with your questions and comments.