From f18891b4ed9e3c24f5bfa5a858829a0b0ef13286 Mon Sep 17 00:00:00 2001 From: namllihs <71220259+namllihs@users.noreply.github.com> Date: Fri, 21 Feb 2025 15:47:41 +0000 Subject: [PATCH] Update GUI_Motor_Shield.py added window.mainloop() at the end to stop the window from closing immediately. --- GUI_Motor_Shield.py | 1 + 1 file changed, 1 insertion(+) diff --git a/GUI_Motor_Shield.py b/GUI_Motor_Shield.py index a180502..53e9d02 100644 --- a/GUI_Motor_Shield.py +++ b/GUI_Motor_Shield.py @@ -320,3 +320,4 @@ def A4_Off(): variable=var4, value=2).place(x=547, y=445) w4 = tkinter.Spinbox(width=5, values=(100, 90, 80, 70, 60, 50, 40, 30, 20, 10)) w4.place(x=565, y=480) +window.mainloop()