The official documentation is http://sourceforge.net/p/raspberry-gpio-python/wiki/Examples/

It doesn't seem to have a traditional API style of documentation.

Answer from joan on Stack Exchange
🌐
Raspberry Pi
raspberrypi.com › documentation › computers › raspberry-pi.html
Raspberry Pi computer hardware - Raspberry Pi Documentation
All Raspberry Pi models with built-in wireless LAN use SD1 to connect to the wireless chip via SDIO. The default pull resistance on the GPIO lines is 50 kΩ, as documented on page 102 of the BCM2835 Arm peripherals datasheet.
🌐
Raspberry Pi
raspberrypi.org › documentation › usage › gpio
Raspberry Pi OS - Raspberry Pi Documentation
We recommend Thonny for editing Python code on the Raspberry Pi. By default, Thonny uses the system Python. However, you can switch to using a Python virtual environment by clicking on the interpreter menu in the bottom right of the Thonny window. Select a configured environment or configure a new virtual environment with Configure interpreter…​. ... Using the GPIO Zero library makes it easy to control GPIO devices with Python. The library is comprehensively documented at gpiozero.readthedocs.io.
🌐
Pinout.xyz
pinout.xyz
Raspberry Pi GPIO Pinout
This GPIO Pinout is an interactive reference to the Raspberry Pi GPIO pins, and a guide to the Raspberry Pi's GPIO interfaces.
🌐
SparkFun Learn
learn.sparkfun.com › tutorials › raspberry-gpio › all
Raspberry gPIo - SparkFun Learn
RPi.GPIO Homepage -- Home of the Raspberry Pi GPIO python module. Great source for API and documentation.
🌐
Gentoo Wiki
wiki.gentoo.org › wiki › Raspberry_Pi_Install_Guide › Raspberry_Pi_GPIO
Raspberry Pi Install Guide/Raspberry Pi GPIO - Gentoo wiki
When a pin is 0v, it can be described as, "low" which represents a 0. The opposite also holds true where 3.3v is described as, "high" which represents a 1. Setting a GPIO to either an input or output is library specific and the relevant documentation should be consulted. The dev-embedded/raspberrypi-utils package provides the "pinctrl" program which allows for pull-up and pull-down reads/write of pins.
🌐
Raspberry Pi
raspberrypi.org › documentation › usage › gpio › README.md
GPIO - Raspberry Pi Documentation
A powerful feature of the Raspberry Pi is the row of GPIO (general-purpose input/output) pins along the top edge of the board. A 40-pin GPIO header is found on all current Raspberry Pi boards (unpopulated on Pi Zero and Pi Zero W).
🌐
PyPI
pypi.org › project › RPi.GPIO
RPi.GPIO · PyPI
For examples and documentation, visit http://sourceforge.net/p/raspberry-gpio-python/wiki/Home/
      » pip install RPi.GPIO
    
Published   Feb 06, 2022
Version   0.7.1
Find elsewhere
🌐
SparkFun Learn
learn.sparkfun.com › tutorials › raspberry-gpio › python-rpigpio-api
Python (RPi.GPIO) API - Raspberry gPIo - SparkFun Learn
To specify in your code which number-system is being used, use the GPIO.setmode() function. For example... ... Both the import and setmode lines of code are required, if you want to use Python. If you've used Arduino, you're probably familiar with the fact that you have to declare a "pin mode" before you can use it as either an input or output.
🌐
GitHub
github.com › raspberrypi › documentation › blob › master › documentation › asciidoc › computers › raspberry-pi › gpio-on-raspberry-pi.adoc
documentation/documentation/asciidoc/computers/raspberry-pi/gpio-on-raspberry-pi.adoc at master · raspberrypi/documentation
The table below gives the various voltage specifications for the GPIO pins for BCM2835, BCM2836, BCM2837 and RP3A0-based products (e.g. Raspberry Pi Zero or Raspberry Pi 3+).
Author   raspberrypi
🌐
gpiozero
gpiozero.readthedocs.io
gpiozero — gpiozero 2.0.1 Documentation
To install on Raspberry Pi OS Lite or other operating systems, including for PCs using remote GPIO, see the Installing chapter. Comprehensive documentation is available at https://gpiozero.readthedocs.io/. Please refer to the Contributing and Development chapters in the documentation for ...
🌐
SparkFun Learn
learn.sparkfun.com › tutorials › raspberry-gpio › python-rpigpio-example
Python (RPi.GPIO) Example - Raspberry gPIo - SparkFun Learn
language:Python # External module imports import RPi.GPIO as GPIO import time # Pin Definitons: pwmPin = 18 # Broadcom pin 18 (P1 pin 12) ledPin = 23 # Broadcom pin 23 (P1 pin 16) butPin = 17 # Broadcom pin 17 (P1 pin 11) dc = 95 # duty cycle (0-100) for PWM pin # Pin Setup: GPIO.setmode(GPIO.BCM) # Broadcom pin-numbering scheme GPIO.setup(ledPin, GPIO.OUT) # LED pin set as output GPIO.setup(pwmPin, GPIO.OUT) # PWM pin set as output pwm = GPIO.PWM(pwmPin, 50) # Initialize PWM on pwmPin 100Hz frequency GPIO.setup(butPin, GPIO.IN, pull_up_down=GPIO.PUD_UP) # Button pin set as input w/ pull-up # Initial state for LEDs: GPIO.output(ledPin, GPIO.LOW) pwm.start(dc) print("Here we go!
🌐
pytz
pythonhosted.org › RPIO
Welcome to RPIO’s documentation! — RPIO 0.10.0 documentation
rpio – command-line tools for inspecting and manipulating GPIOs system-wide. ... $ curl -L https://github.com/metachris/RPIO/archive/master.tar.gz | tar -xz $ cd RPIO-master $ sudo python setup.py install · Debian packages are available at metachris.github.com/rpio/download. After the installation you can use import RPIO as well as the command-line tool rpio. You can find lots of examples inside the documentation, as well as in the /examples/ source directory.
🌐
Raspberry Pi
projects.raspberrypi.org › en › projects › physical-computing › 1
GPIO pins - Physical Computing with Python
One powerful feature of the Raspberry Pi is the row of GPIO pins along the top edge of the board. GPIO stands for General-Purpose Input/Output. These pins are a physical interface between the Raspberry Pi and the outside world.
🌐
Raspberry Pi Forums
forums.raspberrypi.com › board index › programming › python
RPi.GPIO API documentation? - Raspberry Pi Forums
November 22, 2021 - Info found from terminal like this: ... Author: Ben Croston Author-email: ben@croston.org License: MIT Description: This package provides a class to control the GPIO on a Raspberry Pi....
🌐
SourceForge
sourceforge.net › home › browse › raspberry-gpio-python › wiki
raspberry-gpio-python / Wiki / BasicUsage
This refers to the pin numbers on the P1 header of the Raspberry Pi board. The advantage of using this numbering system is that your hardware will always work, regardless of the board revision of the RPi. You will not need to rewire your connector or change your code. The second numbering system is the BCM numbers. This is a lower level way of working - it refers to the channel numbers on the Broadcom SOC. You have to always work with a diagram of which channel number goes to which pin on the RPi board.
🌐
Pi My Life Up
pimylifeup.com › home › the basics of the raspberry pi gpio pins
The Basics of the Raspberry Pi GPIO Pins - Pi My Life Up
July 22, 2024 - As you can see, there are more than just your standard pins. Some pins reference I2C, SPI, and UART. GPIO is your standard pins that can be used to turn devices on and off, such as an LED.
🌐
SparkFun Learn
learn.sparkfun.com › tutorials › introduction-to-the-raspberry-pi-gpio-and-physical-computing › gpio-pins-overview
Introduction to the Raspberry Pi GPIO and Physical Computing - SparkFun Learn
There are two ways to identify GPIO pins...the first is by its physical position on the board, or its BOARD name. It also has a Broadcom SOC channel (BCM) name. By opening the terminal and running pinout as a command, it will return a map of the Raspberry Pi GPIO pins and their names based on the Broadcom chip on board.
🌐
Raspberrypi
pip-assets.raspberrypi.com › categories › 685-whitepapers-app-notes › documents › RP-006553-WP › A-history-of-GPIO-usage-on-Raspberry-Pi-devices-and-current-best-practices pdf
Raspberry Pi | GPIO Usage on Raspberry Pi Devices White Paper
The following definitions are extracted from that document. ... A single GPIO on one pin. ... A GPIO chip handles one or more GPIO lines. There can be multiple gpiochips in a system, usually mapping to distinct GPIO ... Individual lines in a GPIO driver are referred to by an offset , a unique number between 0 and n-1, where ‘n’ is the number · of GPIOs handled by the GPIO chip. The offset is an internal representation only, and is not the same as the GPIO number ... On Raspberry Pi 0-2, all of the GPIO pins are directly driven from the SoC itself, meaning there is a direct connection from the SoC
🌐
SourceForge
sourceforge.net › home › browse › raspberry-gpio-python › wiki
raspberry-gpio-python / Wiki / Home
% pip install RPi.GPIO Collecting RPi.GPIO Downloading RPi.GPIO-0.7.1.tar.gz (29 kB) Preparing metadata (setup.py) ... done Building wheels for collected packages: RPi.GPIO Building wheel for RPi.GPIO (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully.