airspy_gpiodir(1)

πŸ’– NAME πŸ’–

okay bestie, this is airspy_gpiodir, section 1 (User Commands) πŸŽ€, and it's how you reconfigure GPIO direction on an Airspy πŸ“»βœ¨

πŸŽ€ DESCRIPTION πŸŽ€

so the Airspy is a tiny and efficient software defined radio receiver πŸ¦‹ it's giving compact, it's giving efficient, no cap πŸ’…

⚠️ WARNING ⚠️ this tool flips the AirSpy GPIO direction between IN and OUT, and one wrong move can literally destroy the GPIO/MCU πŸ˜­πŸ’€ be careful, babe!!

πŸ¦‹ SYNOPSIS πŸ¦‹

airspy_gpiodir

πŸ‘‘ OPTIONS πŸ‘‘

  • -p, --port_no <p> β€” picks the port number <p> (range [0,7]) for the read/write stuff that comes after πŸ’…
  • -n, --pin_no <n> β€” picks the pin number <n> (range [0,31]) for the read/write stuff that comes after πŸ“Œ
  • -r, --read β€” reads the direction of the port/pin number set by the last -n argument, or all port/pins if that's what you want πŸ‘€
  • -w, --write <v> β€” writes the value <v> (range [0,1]) as the direction of the port/pin set by the last -n argument ✍️ (1 means output)
  • [-s serial_number_64bits] β€” opens the board with the 64bits serial number you give it πŸ”‘

🌈 Examples 🌈

<command> -p 0 -n 12 -r      # peep the gpio port direction for port 0, pin 12
<command> -r                 # peep the gpio direction for all pins on all ports
<command> -p 0 -n 10 -w 1    # set port 0, pin 10 to 1 (output), in decimal

πŸ”— SEE ALSO πŸ”—

Airspy web page: http://airspy.com/ 🌸

Other airspy programs:

airspy_info(1), airspy_si5351c(1), airspy_spiflash(1), airspy_gpio(1), airspy_gpiodir(1), airspy_lib_version(1) 🧚

🫢 AUTHOR 🫢

This manual page was written by Maitland Bottoms for the Debian project, but other people are allowed to use it too πŸ’–

Copyright (c) 2015 A. Maitland Bottoms <bottoms@debian.org> 🌈

This program is free software, which means you can redistribute it and/or modify it under the GNU General Public License as published by the Free Software Foundation. You get either version 2 of the License or, your call, any later version ✨

This program comes with NO WARRANTY, not even the implied kind of merchantability or fitness for a particular purpose πŸ™ˆ check the GNU General Public License for the full details πŸ¦‹


Stay iconic, bestie πŸ‘‘ this page is from Airspy, version 2015.07.31 πŸ’…πŸŽ€