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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login