@Gytis
Hei, VIM3 running Ubuntu Bionic supported PIN15, PIN16 and PIN37 located on 40 PIN
GPIO connector as gpio Pins. You can control the directions an level of this Pins.
Using Khadas WiringPi you will find it under this Link: https://github.com/khadas/WiringPi