HYDRASDR_GPIODIR(1)

πŸ“¦ version 1.1.1, in ubuntu resolute, ubuntu stonking

πŸ’– 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 -n argument or, if you don't do that, all port/pin πŸ’–
  • -w, --write <v> β€” writes the port direction specified by the last -n argument with value <v> which is [0,1], where 0=IN and 1=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 ⭐


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