10-30-2022, 12:30 PM
Hi everyone,
I'm playing around with my brand new RockPro64 and trying to blink an LED using libgpiod. I have pin 24 hooked up to an LED, and no matter what I do, the LED is (dimly) lit. That's despite the fact that `gpioinfo` shows all the pins:
What's even weirder, every GPIO pin seems to be pushing a few volts out, even the ones marked GND in the diagram (for example, pin 6). To be specific, if I connect a jumper cable from PIN 6 to an LED/resistor and then to ground, the led lights up.
Did I break something? Is there something I'm missing? I'm wondering if it has to do with u-boot, which I've flashed to SPI in order to support booting from a generic Manjaro image.
Thanks in advance for the help!
Colin
I'm playing around with my brand new RockPro64 and trying to blink an LED using libgpiod. I have pin 24 hooked up to an LED, and no matter what I do, the LED is (dimly) lit. That's despite the fact that `gpioinfo` shows all the pins:
Quote:gpiochip4 - 32 lines:
line 0: unnamed unused input active-high
line 1: unnamed unused input active-high
line 23: unnamed unused input active-high
line 24: unnamed unused input active-high
line 25: unnamed unused output active-high # I've been trying to switch this pin on and off.
What's even weirder, every GPIO pin seems to be pushing a few volts out, even the ones marked GND in the diagram (for example, pin 6). To be specific, if I connect a jumper cable from PIN 6 to an LED/resistor and then to ground, the led lights up.
Did I break something? Is there something I'm missing? I'm wondering if it has to do with u-boot, which I've flashed to SPI in order to support booting from a generic Manjaro image.
Thanks in advance for the help!
Colin