If I use the following the leds light and go off as expected...
but with the following gpio3 led doesn't go off just dim... why ?
Code:
#!/usr/bin/python3import timefrom gpiozero import LEDpinList = [3, 4, 17, 27]led = [0] * len(pinList)for i in range(0,len(pinList)): led[i] = LED(pinList[i]) led[i].on() time.sleep(1) led[i].off()
Code:
#!/usr/bin/python3import timefrom gpiozero import LEDpinList = [3, 4, 17, 27]for i in range(0,len(pinList)): led = LED(pinList[i]) led.on() time.sleep(1) led.off()
Statistics: Posted by gordon77 — Fri Dec 22, 2023 1:29 pm