from machine import Pin
import time
led = Pin(25, Pin.OUT)
print("--- Adjustable Blink Program ---")
on_ms = int(input("Enter ON time (ms): "))
off_ms = int(input("Enter OFF time (ms): "))
print(f"Blinking started with ON: {on_ms}ms and OFF: {off_ms}ms...")
while True:
led.value(1)
time.sleep_ms(on_ms)
led.value(0)
time.sleep_ms(off_ms)