Raspberry Pi - Platform
Which of the following is the correct syntax to set GPIO pin 12 as an output in Python?
GPIO.setup(pin, mode) function sets a pin as input or output.GPIO.setup(12, GPIO.OUT).15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions