HYDRASDR_GPIODIR(1)
π HYDRASDR_GPIODIR π
okay bestie, welcome to hydrasdr_gpiodir, a User Command from the HydraSDR set of tools π
she's a lil tool that reads and reconfigures your device's GPIO pin direction settings, and she is not here to play nice.
β¨ NAME β¨
hydrasdr_gpiodir β the tool that reads and reconfigures your device GPIO pin direction settings π
πΈ DESCRIPTION πΈ
WARNING this tool reconfigures GPIO Direction IN/OUT and can destroy GPIO/MCU in case of mistake π
no like fr fr, read that again. this is real danger, not a drill. one wrong flag and your GPIO/MCU is gone gone. main character energy but for the wrong reasons. please be careful, i am begging π«Ά
π¦ USAGE π¦
-p,--port_no <p>β sets the port number<p>to[0,7]for whatever read/write operations come next β¨-n,--pin_no <n>β sets the pin number<n>to[0,31]for whatever read/write operations come next πΈ-r,--readβ reads the port number / pin number direction, either the one specified by the last-nargument or, if you don't do that, all port/pin π-w,--write <v>β writes the port direction specified by the last-nargument with value<v>which is[0,1], where0=INand1=OUTπ-s [serial_number_64bits]β opens the board with the specified 64bits serial number π₯
π EXAMPLES π
reading a direction off port 0, pin 12:
hydrasdr_gpiodir -p 0 -n 12 -r # reads gpio direction from port 0 pin number 12
reading everything, every pin, every port, the whole vibe check:
hydrasdr_gpiodir -r # reads gpio direction on all pins and all ports
writing a direction, port 0 pin 10, value 1 aka output:
hydrasdr_gpiodir -p 0 -n 10 -w 1 # writes gpio direction port 0 pin number 10 with 1(output) decimal
π AUTHORS π
- HydraSDR RFOne
- was primarily written by Benjamin VERNOUX.
slay, Benjamin π«‘
β SEE ALSO β
- Package documentation in
/usr/share/doc/hydrasdr-tools/ - For more information visit
https://www.hydrasdr.com
and that's the whole page bestie π this was HydraSDR, from August 2025, and it lives at HYDRASDR_GPIODIR(1). go read your GPIO directions responsibly, iykyk π
β¨π¦
π¦ where this page comes from
- ubuntu resolute: hydrasdr-tools 1.0.3-1 Β· HydraSDR-BSD
- ubuntu stonking: hydrasdr-tools 1.1.1+dfsg-1 Β· HydraSDR-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms