Raspberry Pi - GPIO Basics with Python
What will be the output of this Python code on a Raspberry Pi?
import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setup(18, GPIO.OUT) GPIO.output(18, GPIO.HIGH) print(GPIO.input(18))
