raspi_gpioctl

Raspberry Pi GPIO pin state controller


Keywords
raspberry, pi, pin, state, controller
License
GPL-3.0+
Install
pip install raspi_gpioctl==0.0.2

Documentation

Raspberry PI GPIO

The raspi-gpioctl is a tiny package that provides a simple little command line tool, gpioctl, that allows minimal Raspberry PI GPIO pin state management.

Usage

To read the state of pin 18 when it is in output mode and turned on:

$ gpioctl 18
function: output
state: 1

To set pin 23 to output mode and turn it off:

$ gpioctl 23 off