I am pretty new to the BBB and I came across something pretty odd that I have been trying to figure out for a few hours now as I was creating a push button circuit:
P9_25 is a GPIO pin. I set it to input but noticed that it would not respond to my button. After some digging I realized that the pin itself was acting funky, so I isolated it to run some tests with BB’s Bonescript tutorial on GPIO digitalWrite(). I ran this code below (apologies for the sloppy picture) with the adjacent circuit configuration shown as well. Obviously, the LED should turn off, but it doesn’t:
I then tried the same tests on other pins, such as P9_26, and it worked perfectly, so that’s where I’m startled.
I have two theories:
I messed with P9_25 in the past, and it is reconfigured in a weird way; if someone has this hunch, could you please perhaps inform me how to reset the pin to its original glory?
The pin is busted. Fingers crossed for #1.
If anybody has run into something similar, or has any idea what I should do, please let me know!
Thank you for you time.