fix bugs
This commit is contained in:
parent
b61d4eb2e9
commit
3f3f834ed9
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue