Hi Folks,
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
>>>GPIO.setup_"P9_13", GPIO.IN)
>>>GPIO.input("P9_13")
-1227579032
The number is the same no matter which IO is use as input.
The result is independent of having the IO float or grounded.
Ideas?
Thanks,
Paul
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.