Raspberry Pi - LED and Button Projects
Which of the following is the correct way to import the GPIO library and set pin 18 as output in Python for Raspberry Pi?
import RPi.GPIO as GPIO to access GPIO functions.GPIO.setup(18, GPIO.OUT) to configure pin 18 for output.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions