The GPIO on the VIMs has always sparked my interest. I have used the GPIO pins, but only to connect to the USB2, SPDIF, 5Volt, etc.
I have never interacted with them from a software standpoint. I am not fluent in command line(Cli) on Linux or others, but can generally follow guides and directions…We shall see.
As a novice in this area, I was glad to see Khadas Docs has added some guides to help with understanding how to get started on the VIM3.
For those interested, here are the links to the info and guides(from Khadas Docs, VIM3 section).
The GPIO Pinout.
How to access the GPIO.
How to use RPi.GPIO, used to control
the GPIO.
How to use WiringPi, a GPIO controller.
Thanks for the info
I managed to find GPIOH_4 as gpio431 , 40pin connector pin 37
but where do I find the other gpios? eg where is GPIOH_3 , 5 etc
on the 40 pin connector?
Appreciate any help.
khadas@Khadas:~$ sudo cat /sys/kernel/debug/pinctrl/pinctrl@14/gpio-ranges
cat: /sys/kernel/debug/pinctrl/pinctrl@14/gpio-ranges: 没有那个文件或目录 not found
root@Khadas:/sys/kernel/debug/pinctrl# ls -l
总用量 0
-r–r--r-- 1 root root 0 Jan 1 1970 pinctrl-devices
drwxr-xr-x 2 root root 0 Jan 1 1970 pinctrl@ff634480
drwxr-xr-x 2 root root 0 Jan 1 1970 pinctrl@ff800014
-r–r--r-- 1 root root 0 Jan 1 1970 pinctrl-handles
-r–r--r-- 1 root root 0 Jan 1 1970 pinctrl-maps
not found c1109880.pinmux or pinctrl@14
khadas@Khadas:~$ cd /usr/local/lib/python3.6/dist-packages/
khadas@Khadas:/usr/local/lib/python3.6/dist-packages$ ls -l
总用量 0 not found
khadas@Khadas:/usr/local/lib/python3.6/dist-packages$ ls -l /usr/local/lib/python2.7/dist-packages/
总用量 4 not found
drwxr-xr-x 4 khadas khadas 4096 Aug 30 04:48 kodi
khadas@Khadas:/usr/local/lib/python3.6/dist-packages$