mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
10 lines
141 B
Python
10 lines
141 B
Python
import PikaStdLib
|
|
import STM32
|
|
|
|
time = STM32.Time()
|
|
|
|
while True:
|
|
time.sleep_ms(500)
|
|
print('0.5s')
|
|
time.sleep_s(1)
|
|
print('1s') |