|[ << ]||[ < ]||[ Up ]||[ > ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
^$ZRPI structured system variable provides easy access to general-purpose input/output (GPIO) pins on Raspberry Pi single-board computers.
To initialize the GPIO subsystem,
Individual pins are accessed through
<pin> represents the desired pin number. Descendant subscripts of
^$ZRPI("GPIO",<pin>) are as follows:
MODE+R +U -D
Represents the operating mode of the selected pin. One of
DIGITAL+R +U -D
Reads or writes the selected pin digitally. The value is limited to
ANALOG+R +U -D
Reads or writes the selected pin in an analog fashion. The value represents analog voltage.
This document was generated on January 3, 2022 using texi2html 5.0.