添加测试代码,防止程序退出

This commit is contained in:
2026-03-02 11:15:14 +08:00
parent c20c750635
commit 7ea779acc8
4 changed files with 20 additions and 0 deletions

View File

@ -390,3 +390,7 @@ if __name__ == '__main__':
time.sleep(1)
sync_motor_move(False)
time.sleep(0.5)
while(True):
time.sleep(1)