Hi Folks,
I’m using Adafruit BBIO python library on BBB with Ubuntu 14.04. When I read input values, I always get a large negative number like -1227579032 instead of 0 or 1.
My code is really simple: In Python interpreter
import Adafruit_BBIO.GPIO as GPIO
GPIO.setup(“P9_13”, GPIO.IN)
GPIO.input(“P9_13”)
-1227579032
I’m expecting 0 or 1.
I’ve tried this across a variety of the GPIO.
It does not matter if the IO is floating or grounded.
Ideas?
Thanks