12 lines
151 B
Python
Raw Normal View History

2021-10-04 10:18:13 +08:00
import PikaStdLib
import machine
2021-10-04 10:18:13 +08:00
time = machine.Time()
2021-10-04 10:18:13 +08:00
while True:
time.sleep_ms(500)
print('0.5s')
time.sleep_s(1)
2021-10-04 11:00:21 +08:00
print('1s')