I am trying to set GPIO pins to high and low state on an Orange Pi using the following command:
echo 0 > /sys/class/gpio_sw/PA1/data echo 1 > /sys/class/gpio_sw/PA1/data
This turns the pin on and off.
/sys/class/gpio_sw/ folder has locations labeled
PA0, PA1, PA10, PA13, PA14, PA2, PA21, PA3, PA6, PA7, PA8, PA9 PC4, PC7 PD14 PG6, PG7, PG8, PG9
Do the prefixes
(PA, PC, PD, PG) have any meaning?
Are these all references to GPIO pins?