Update dev.py
This commit is contained in:
2
dev.py
2
dev.py
@@ -28,6 +28,8 @@ for cmd in sys.argv[1:]:
|
||||
if ser.in_waiting > 0: # Check if there is data in the buffer
|
||||
data = ser.readline().decode('utf-8').strip() # Read and decode the data
|
||||
print(data)
|
||||
case "clean":
|
||||
subprocess.call(["mpremote", "connect", port, "fs", "rm", ":/settings.json"])
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -136,3 +136,8 @@ if __name__ == "__main__":
|
||||
asyncio.run(main())
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user