Pi:gpio mode: Difference between revisions
From SpecNext Wiki
mNo edit summary |
|||
| Line 19: | Line 19: | ||
<code>-i</code> set pin to input (data from Next to Pi) mode | <code>-i</code> set pin to input (data from Next to Pi) mode | ||
<code>-o</code> set pin to output (data from Next | <code>-o</code> set pin to output (data from Pi to Next) mode | ||
== Potential Features == | == 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 | 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 | ||
Latest revision as of 19:38, 27 November 2025
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.93A
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 Pi to Next) 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