from machine import Pin
import time
a=0
pin1= Pin(0, Pin.OUT)
while True:
a = a + 1
print(a)
time.sleep(1)
if a==2:
pin1.toggle()
print("kabump")
break
from machine import Pin
import time
a=0
pin1= Pin(0, Pin.OUT)
while True:
a = a + 1
print(a)
time.sleep(1)
if a==2:
pin1.toggle()
print("kabump")
break