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