from machine import Pin
from time import sleep_ms, ticks_ms
clk = Pin(23, Pin.OUT, value = 0)
delay_time = 1000
while True:
clk.value(1)
print(f"CLK: {clk.value()}")
sleep_ms(delay_time)
clk.value(0)
print(f"CLK: {clk.value()}")
sleep_ms(delay_time)
ERC Warnings
flop1:CLK: Clock driven by combinatorial logic