GPIO numbering
-
Hi,
I would like to access the gpio pin 12 using interposer M0076 TP5 at J8
echo 12 > /sys/class/gpio/export
Not works shows Invalid argument
but
echo 1073 > /sys/class/gpio/export
works
But in voxl2 the numbering is different starts at 1072 and ends at 1280
gpiochip1100 has 180 in ngpio
how to get exact number for gpio pin 12 in relation to above.
can someone tell the mapping of gpio numbers. -
Found the offset
its gpiochip1100
so for gpio 12echo 1112 > /sys/class/gpio/export
will enable gpio 12