stm32-fmt-code/access_control_python/test.py

6 lines
104 B
Python
Raw Normal View History

2023-11-17 15:43:10 +00:00
from stm32 import stm32_distance
2023-11-13 12:12:30 +00:00
2023-11-17 15:43:10 +00:00
SD = stm32_distance("COM13")
2023-11-13 12:12:30 +00:00
2023-11-17 15:43:10 +00:00
while True:
print(SD.get_distance())