Raspberry Pi - gpiozero Library
Identify the error in this code:
from gpiozero import LED led = LED(18) led.turn_on()
from gpiozero import LED led = LED(18) led.turn_on()
on() and off() methods; turn_on() is not a valid method.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions