I am fairly new to Beaglebone and have both the BB AI and the BBB Rev C. I have had some success with some programs but am doing my first program where I needed a GPIO pin to read a switch state. Specifically to detect when a switch goes from high to low.
I am using Python and IDLE 3
My Sketch is as follows
import Adafruit_BBIO.GPIO as GPIO
The error I get back when I am running the code is Set GPIO Mode Failed, Mission File, or Invalid Permissions.
I am sure there is a simple fix here, and I have been searching the internet forums looking for something but I just have not seen anything that works. As a last resort reflashed the card, but to no avail. Any thoughts?