fix bugs
This commit is contained in:
@@ -8,6 +8,7 @@ import serial.tools.list_ports as ls_ports
|
||||
from typing import Optional, Any
|
||||
import platform
|
||||
import functools
|
||||
import time
|
||||
|
||||
|
||||
class App(ctk.CTk):
|
||||
@@ -487,6 +488,7 @@ class App(ctk.CTk):
|
||||
)
|
||||
)
|
||||
self.serial.write(bytes)
|
||||
time.sleep(0.001)
|
||||
else:
|
||||
print("Please Connect to Serial")
|
||||
messagebox.showError("Please Connect Serial Port")
|
||||
|
||||
Reference in New Issue
Block a user