12 lines
151 B
Python
Raw Normal View History

2021-10-04 10:18:13 +08:00
import PikaStdLib
2021-11-21 16:32:30 +08:00
import STM32G0
2021-10-04 10:18:13 +08:00
2021-11-21 16:32:30 +08:00
time = STM32G0.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')