我想要在linux下操作gpio口,怎么计算对应的gpio编号

GPIO
我如何根据GPIO编号,计算出我在LINUX下应该操作的是哪一位引脚?或者说GPIO05在UBUNTU下对应的GPIO的编号怎么计算

Since we just had a similar question for the Orin Nano, I suggest we start there with this request.

Thanks!

Duplicated with 我使用的是NVIDIA JETSON ORIN NANO ,我用到了gpio05 ,gpio03 ,gpio02,我想再UBUNTU上操控这几个引脚,我怎么计算gpio对应的编号 - Jetson & Embedded Systems / Jetson Orin Nano - NVIDIA Developer Forums