Pi:gpio mode
From SpecNext official Wiki
Abstract
`nextpi-gpio_mode` is designed to allow easy manipulation of the various modes of the GPIO pins from the commandline.
Prerequisits
- NextPi Version: 1.93D
Backend
- Binary: Proprietory
Options
-h
display usage information
-p
pin number (BCM, 0 through 27)
-a
alternative function number (see https://elinux.org/RPi_BCM2835_GPIOs for details)
-i
set pin to input (data from Next to Pi) mode
-o
set pin to output (data from Next to Pi) mode
Potential Features
A potential future upgrade would to change pre-set banks of pins to a specific function all at once, e.g. both UART, or all I2S pins