I have a BBB with Ubuntu 14.04. I’m using the Adafruit python GPIO library. When I read a GPIO input, instead of getting a 1 or 0, I’m getting a large negative value like -1227579032.
My code is simple. At the Python prompt.
import Adafruit_BBIO.GPIO as GPIO
The number is the same no matter which IO is use as input.
The result is independent of having the IO float or grounded.