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
--
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.