Recently I bought rpi 5, I have connected a LED to it and every time I try to run this code I get: lgpio.error: 'GPIO busy'
Code:
from gpiozero import LEDfrom time import sleepled = LED(26)try: while True: led.on() sleep(1) led.off() sleep(1)except KeyboardInterrupt: print('Interrupted')
Statistics: Posted by realbox — Mon Apr 29, 2024 12:32 pm