Robotics StackExchange | Archived questions

Beaglebone Pin Issues?

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!

Asked by charnack on 2015-11-14 21:10:44 UTC

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?

Asked by Gary Servin on 2015-11-15 19:02:16 UTC

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

Asked by charnack on 2015-11-15 20:49:53 UTC

Answers