Raspberry Pi - Automation and Scheduling
What will be the output of this Python code controlling a relay on GPIO pin 23?
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(23, GPIO.OUT)
GPIO.output(23, GPIO.HIGH)
print(GPIO.input(23))
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions