GPIO numbering
-
Hi,
I would like to access the gpio pin 12 using interposer M0076 TP5 at J8

echo 12 > /sys/class/gpio/exportNot works shows Invalid argument
but
echo 1073 > /sys/class/gpio/exportworks
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. -
Hi,
I would like to access the gpio pin 12 using interposer M0076 TP5 at J8

echo 12 > /sys/class/gpio/exportNot works shows Invalid argument
but
echo 1073 > /sys/class/gpio/exportworks
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/exportwill enable gpio 12
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login