-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
Quality EngineeringVerification of correctness with respect to requriementsVerification of correctness with respect to requriementsSoftware Engineering/BugSomething isn't workingSomething isn't working
Description
Hi, I had the problem that the initial argument defined in setup function does not take effect. Below is what I did.
from RPi import GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(22, GPIO.OUT, initial=GPIO.LOW) # It does not set the initial value to low.
I ran this code under the newest version of this package and the platform is Raspberry Pi 4B+.
No matter I passed low or high, it always set the same initial value. Can somebody help me or point out what's going on?
Thank you
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Quality EngineeringVerification of correctness with respect to requriementsVerification of correctness with respect to requriementsSoftware Engineering/BugSomething isn't workingSomething isn't working