Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 561

rpi.gpio refers to the package name of a Python module for accessing the Raspberry Pi's GPIO pins. NOTE not supported on Pi5. The module allows GPIO pins to be initialised, turned on, and turned off. It uses a functional programming style.

25 votes
7 answers
57k views

Getting more than 26 GPIO pins

I would like to be able to output 75 digital out signals from the Raspberry Pi. However it has only 26 GPIO pins. Precise timing is not critical as long as it is within 1 second. I need to be able t …
Scoop's user avatar
  • 2,719
1 vote
1 answer
3k views

RPi.GPIO turns pin on at setup

I have an LED connected to a GPIO pin and am using RPi.GPIO to control it. When setting up the GPIO pin, the LED blinks on ever so slightly when being initialized, which I don't want. … import RPi.GPIO as GPIO GPIO.setmode(GPIO.BOARD) GPIO.setup(22, GPIO.OUT) GPIO.output(22, False) setMode seems to briefly turn on the LED. Is there a way to prevent this? …
Scoop's user avatar
  • 2,719