from picozero import GPIO
import time
GPIO.setup(17,GPIO.OUT)
alter = GPIO.HIGH
x = 1
i = 0
while True:
print(alter,end=" ")
GPIO.output(17,alter)
if i % x == x-1:
if alter == GPIO.HIGH:
alter = GPIO.LOW
else:
alter = GPIO.HIGH
time.sleep(1)
i += 1