Raspberry Pi - gpiozero Library
What will be the output of this Python code snippet if no motion is detected by the PIR sensor?
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(18, GPIO.IN)
if GPIO.input(18):
print("Motion!")
else:
print("Still")