I want to use a couple of GPIO on the HLK-7688A for custom LED and button. After reading the board's datasheet, I decide to try to use GPIO2 (pin 19) to turn on an LED. This GPIO equates to gpiochip0, offset 2 from gpioinfo or gpio #482. I can see that this gpio is unamed and unused from gpioinfo output.
I decide to use sysfs to quickly test ịt
echo 482 > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio482/direction
echo 1 > /sys/class/gpio/gpio482/value
The LED doesn't lit up. The voltage at the GPIO is read at .5v whether I set it to low or high.
What am I missing here?