Adafruit_BBIO.GPIO not working, command line does

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:

Thanks for your help.


Silly question. Why would you ask this question on the beagelboard google groups instead of the adafruit support forums ?

Matt’s question seems like a perfectly legit and useful question to ask on this and the AdaFruit forum. After all, there are more experts on BBB…on the BBB Google Group; fewer BBB experts…on a non-BBB forum like AdaFruit.

Wish I had an answer, Matt. It’s exactly a use case (Ubuntu + BBB + GPIO tests) that I’ll be exploring myself shortly. I’ll let you know if I figure out something soon.


This question has no place on this group. Period.

Wow, you’re kind of an ass aren’t you.