sbcshop / MotorShield

Designed to help you get your Raspberry Pi based Robot. This board can control DC motor as well as the stepper motor. You can connect your IR and Ultrasonic sensors to tell your robot about its environment. You can easily make your Line Following, Object following, Wall following, Maze-Solver Robots.
https://shop.sb-components.co.uk/products/motorshield-for-raspberry-pi
52 stars 47 forks source link

GUI_Motor_Shield.py immediately stops #16

Open Grandpa-G opened 4 years ago

Grandpa-G commented 4 years ago

Trying to run on Raspberry Pi 3 with Buster. Using python3 the program immediately terminates normally.

I believe you need a

window.mainloop()

as the very last line to keep tkinkter running and then the GUI displays.

namllihs commented 8 months ago

Correct Grandpa-G, I added this line and al works l ok. Maybe time to update the code.