import machine as Gpio
import utime as TM
LED_Pin = Gpio.Pin(3,Gpio.Pin.OUT)
def set_red_color(Red):
LED_Pin.value(Red)
while True:
set_red_color(1)
TM.sleep(1)
set_red_color(0)
TM.sleep(1)
import machine as Gpio
import utime as TM
LED_Pin = Gpio.Pin(3,Gpio.Pin.OUT)
def set_red_color(Red):
LED_Pin.value(Red)
while True:
set_red_color(1)
TM.sleep(1)
set_red_color(0)
TM.sleep(1)