Difference between revisions of "Pi:gpio mode"

From SpecNext official Wiki
Jump to: navigation, search
(Created page with "== 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....")
 
(Prerequisits)
 
Line 5: Line 5:
 
== Prerequisits ==
 
== Prerequisits ==
  
* NextPi Version: 1.93D
+
* NextPi Version: 1.93A
  
 
== Backend ==
 
== Backend ==

Latest revision as of 15:00, 6 February 2024

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 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