Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

mdminhazulhaque/bash-gpio-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

GPIO

A small utility script for easily exporting, unexporting and read, writing GPIO pins on RaspberryPi or other development boards.

How To

Usage: gpio [export|direction|read|write|unexport]

       Param1    | Param2 | Param3
       ---------------------------
       export    | PIN    |
       unexport  | PIN    |
       direction | IN/OUT | PIN
       read      | PIN    |
       write     | VALUE  | PIN

Example

gpio e 72       # exports pin 72
gpio d o 72     # sets direction to out
gpio d i 72     # sets direction to in
gpio r 72       # reads from pin 72
gpio w 1 72     # writes 1 to pin 72
gpio u 72       # unexports pin 72

About

📌 A small utility script for easily exporting, unexporting and read, writing GPIO pins

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages