VIM3 Ubuntu: connect two GPIO pins

I need to make a simple switcher (on/off toggle) with GPIO - can it connect two pins for set period of time?

I would connect two wires to separate pins and ideal situation would be to connect them together programmically for one second.

VIM3 running Ubuntu Bionic build with Fenix script.

I would connect two wires to separate pins and ideal situation would be to connect them together programmically for one second.

Why not toggle them simultaneously…? In most cases this should be fine…

@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