GPIO on a Banana Pi M1 with [[sysadmin:freebsd|FreeBSD]]

 $ Is there any GPIO on the hardware: ''dmesg | grep gpio''
 $ List available GPIO pins: ''gpioctl -lv'' or ''gpioctl -f /dev/gpioc1 -lv''
 $ Configure a pin as output (in this case the user definable geen onboard led: ''gpioctl -c 149 OUT''
 $ Toggle the green led: ''gpioctl -t 149''
 $ Switch on the green led: ''gpioctl 149 1''
 $ Switch off the green led: ''gpioctl 149 0''