🌐
Raspberry Pi Forums
forums.raspberrypi.com › board index › programming › python
RPi.GPIO API documentation? - Raspberry Pi Forums
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....
🌐
PyPI
pypi.org › project › RPi.GPIO
RPi.GPIO · PyPI
Note that the current release does ... on the RPi yet. This is planned for the near future - watch this space! One-wire functionality is also planned. Although hardware PWM is not available yet, software PWM is available to use on all channels. For examples and documentation, visit http://sourceforge.net/p/raspberry-gpio-python/w...
      » pip install RPi.GPIO
    
Published   Feb 06, 2022
Version   0.7.1
🌐
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
August 1, 2024 - A Python module to control the GPIO on a Raspberry Pi. Because Python uses garbage collection, this can affect timings, so this · library is not recommended for real-time or time-critical applications. It does not support SPI, I2C, Hardware PWM, or serial ports.
🌐
RasPi.TV
raspi.tv › 2014 › rpi-gpio-quick-reference-updated-for-raspberry-pi-b
RPi.GPIO Quick Reference updated for Raspberry Pi B+, A+ and Pi2B – RasPi.TV
June 22, 2015 - The RPi.GPIO documentation link is now http://sourceforge.net/p/raspberry-gpio-python/wiki/Home/
🌐
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.
🌐
Tieske
tieske.github.io › rpi-gpio › modules › GPIO.html
Raspberry Pi GPIO module
local gpio = require("rpi-gpio") local gpio.setmode(gpio.BOARD) local Pin, Hz, Duty = 11, 100, 50 -- Pin 11, 100Hz, 50% dutycycle gpio.setup_channel(Pin, gpio.OUT, gpio.HIGH) local pwm = gpio.newPWM(Pin, Hz):start(Duty)
🌐
Readthedocs
rpi-lgpio.readthedocs.io
README — rpi-lgpio 0.6 Documentation
rpi-lgpio is a compatibility package intended to provide compatibility with the rpi-gpio (aka RPi.GPIO) library, on top of kernels that only support the gpiochip device (and which have removed the deprecated sysfs GPIO interface).
🌐
SunFounder
docs.sunfounder.com › projects › sensorkit-v2-pi › en › latest › libraries.html
Libraries - RPi.GPIO
RPi.GPIO is a module to control Raspberry Pi GPIO channels. This package provides a class to control the GPIO on a Raspberry Pi. For examples and documents, visit http://sourceforge.net/p/raspberry-gpio-python/wiki/Home/
Find elsewhere
🌐
SourceForge
sourceforge.net › home › browse › raspberry-gpio-python › wiki
raspberry-gpio-python / Wiki / Home
You will get a list of functions : ['BCM', 'BOARD', 'BOTH', 'FALLING', 'HARD_PWM', 'HIGH', 'I2C', 'IN', 'LOW', 'OUT', 'PUD_DOWN', 'PUD_OFF', 'PUD_UP', 'PWM', 'RISING', 'RPI_INFO', 'RPI_REVISION', 'SERIAL', 'SPI', 'UNKNOWN', 'VERSION', 'builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'path', 'spec', 'add_event_callback', 'add_event_detect', 'cleanup', 'event_detected', 'getmode', 'gpio_function', 'input', 'output', 'remove_event_detect', 'setmode', 'setup', 'setwarnings', 'wait_for_edge']
🌐
MicroPython
docs.micropython.org › en › latest › rp2 › quickref.html
Quick reference for the RP2 — MicroPython latest documentation
from machine import Pin p0 = Pin(0, Pin.OUT) # create output pin on GPIO0 p0.on() # set pin to "on" (high) level p0.off() # set pin to "off" (low) level p0.value(1) # set pin to on/high p2 = Pin(2, Pin.IN) # create input pin on GPIO2 print(p2.value()) # get value, 0 or 1 p4 = Pin(4, Pin.IN, Pin.PULL_UP) # enable internal pull-up resistor p5 = Pin(5, Pin.OUT, value=1) # set pin high on creation
🌐
SourceForge
sourceforge.net › home › browse › raspberry-gpio-python › wiki
raspberry-gpio-python / Wiki / BasicUsage
You have to always work with a diagram of which channel number goes to which pin on the RPi board. Your script could break between revisions of Raspberry Pi boards. ... It is possible that you have more than one script/circuit on the GPIO of your Raspberry Pi.
🌐
Electropeak
electropeak.com › learn › tutorial-raspberry-pi-gpio-programming-using-python-full-guide
Raspberry Pi GPIO Pins Programming Using Python [Full Guide]
March 3, 2024 - Learn how to control Raspberry Pi GPIO pins using Python. Understand about GPIO pinout, programming, installation, commands, and examples
🌐
Readthedocs
rpi-lgpio.readthedocs.io › _ › downloads › en › latest › pdf pdf
rpi-lgpio 0.6 Documentation Release 0.6 Dave Jones May 11, 2024
May 11, 2024 - The RPi.GPIO module attempts to determine the revision of Raspberry Pi board that it is running on when the module · is imported by querying /proc/cpuinfo, raising RuntimeError5 at import time if it finds it is not running on · a Raspberry Pi. rpi-lgpio emulates this behaviour, but this can be inconvenient for certain situations including testing,
🌐
Klipper
klipper3d.org › RPi_microcontroller.html
RPi microcontroller - Klipper documentation
This document describes the process of running Klipper on a RPi and use the same RPi as secondary mcu. Often the MCUs dedicated to controlling 3D printers have a limited and pre-configured number of exposed pins to manage the main printing functions (thermal resistors, extruders, steppers ...). ...
🌐
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.
🌐
Openautomationsoftware
openautomationsoftware.com › home › getting started › getting started raspberry pi gpio
Getting Started Raspberry Pi GPIO - Industrial IoT Data Platform
September 24, 2024 - Input: Read Only – Configures the GPIO pin in floating mode, with high impedance. InputPullDown: Read Only – Configures the GPIO pin as high impedance with a pull-down resistor to ground.
🌐
Phazertech
phazertech.com › tutorials › rpi-gpio.html
GPIO Python Guide
Next you'll need to give your user permission to access the GPIO regardless of which library you installed. ... Now reboot before continuing. ... This simple program will toggle an output pin on and off. Create a new file and name it test.py: ... import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BOARD) GPIO.setwarnings(False) GPIO.setup(8, GPIO.OUT, initial=GPIO.LOW) while True: GPIO.output(8, GPIO.HIGH) time.sleep(1) GPIO.output(8, GPIO.LOW) time.sleep(1)
🌐
SparkFun Learn
learn.sparkfun.com › tutorials › raspberry-gpio › python-rpigpio-api
Python (RPi.GPIO) API - Raspberry gPIo - SparkFun Learn
Pages Introduction GPIO Pinout Hardware Setup Python (RPi.GPIO) API Python (RPi.GPIO) Example C (WiringPi) Setup C (WiringPi) API C (WiringPi) Example Using an IDE!
🌐
Raspberry Pi
raspberrypi.com › documentation › computers › raspberry-pi.html
Raspberry Pi computer hardware - Raspberry Pi Documentation
Use the --cacertder option of the rpi-eeprom-config tool to add the DER-encoded certificate. You must place a hash of the certificate in the EEPROM config settings to ensure that the certificate is not modified. Run the following command to generate a DER-encoded certificate: ... <hash> with the hash value you generated above, e.g. 701bd97f67b0f5483a9734e6e5cf72f9a123407b346088638f597878563193fc ... [all] BOOT_UART=1 POWER_OFF_ON_HALT=0 BOOT_ORDER=0xf461 [gpio8...