Beaglebone Pin Issues?

asked 2015-11-14 20:10:44 -0500

charnack gravatar image

Hello,

I made a basic subscriber node in Python that is suppose to turn on an LED from a specific pin on the Beaglebone black when a keyboard key is pressed. Everything seems to work and compile fine, but the LED will not turn on. I am using the Adafruit BBIO python library for the GPIO pins on the BBB. If I send the Python command directly by SSH the LED works fine, but when I put that same code into the subscriber node nothing happens. Any ideas?

Thanks!

edit retag flag offensive close merge delete

Comments

I don't think we have enough information to help you based solely on this. Can you edit your question and add the code (or the relevant part of it) you're using? Maybe permissions issue?

Gary Servin gravatar image Gary Servin  ( 2015-11-15 18:02:16 -0500 )edit

It turned out to be a permission issue, I fixed it by running the command with root. Thanks for the quick response though!

charnack gravatar image charnack  ( 2015-11-15 19:49:53 -0500 )edit