exampe update
This commit is contained in:
@@ -35,6 +35,8 @@ def main():
|
||||
if key & 0xFF == ord("q"):
|
||||
print("\n 停止程序")
|
||||
break
|
||||
if key & 0xFF == ord("r"):
|
||||
sensor1.reset()
|
||||
|
||||
sensor1.disconnect() # 断开传感器连接
|
||||
|
||||
|
||||
Reference in New Issue
Block a user