Gpioread
gpioread is a replacement for the deprecated wiringpi gpio readall utility on Raspberry Pi. gpioread has the advantage of displaying the ACTUAL programmed GPIO function set by Device Tree on boot rather than the default.
Install / Use
/learn @Milliways2/GpioreadREADME
gpioread
gpioread is a replacement for the deprecated wiringpi gpio readall utility on Raspberry Pi.
gpioread has the advantage of displaying the ACTUAL programmed GPIO function set by Device Tree on boot rather than the default.
gpioread runs on all Pi models with 40 pin expansion header, including Pi4 and Raspberry Pi Model B Rev 2 with 26 pin expansion header.
This has enhanced functionality - it reports actual configured function on GPIO (useful on the Pi4 with additional modes).
gpioread.py by default displays power pins in colour. To restore non-coloured output uncomment the 2 lines # non-coloured output and comment out # coloured output.
gpioread.py has been refactored to allow use as a module (NOTE to use as a module it must be saved as gpioread.py)
As a bonus gpioread.py is usable on remote machines using the pigpio remote access capability. The Pi must have remote access enabled.
Run with gpioread IPaddress
Alternate Version
Extra version of gpioread for Pi.GPIO - an enhanced RPi.GPIO gpioread displays pull on Raspberry BCM2711 (Pi4).
Prerequisites
Requires Pi.GPIO to be installed
This can be downloaded using git clone https://github.com/Milliways2/Pi.GPIO.git
Alternate requires Code and constants imported from gpioread.py
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
