Hi All
I’m running a BBB with ubuntu.
I’ve got pin 14 on header 8 running as a GPIo output
sudo -s
echo 26 > /sys/class/gpio/export
echo high > /sys/class/gpio/gpio26/direction
This works great.
However, when I try to do the equivalent with the Adafruit lib, it fails:
import Adafruit_BBIO.GPIO as GPIO
GPIO.setup(“GPIO0_26”, GPIO.OUT)
GPIO.output(“GPIO0_26”, GPIO.HIGH)
GPIO.output(“GPIO0_26”, GPIO.LOW)
it does nothing – it does not even give an error.
The adafruit lib is working well for ADC.
Any ideas?
Is there soemthing missing from these instructions:
http://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/using-the-bbio-library
Thanks for your help.
Matt