jarvisteach / appJar

Simple Tkinter GUIs in Python
http://appJar.info
Other
615 stars 68 forks source link

Newbie - Thread with infinite loop ? #597

Closed rtgibson closed 4 years ago

rtgibson commented 4 years ago

It's not a bug but just struggling with figuring out how to get a thread running an infinite loop alongside the GUI. I've used the tutorial to create a GUI front end now I'd just like to blink an LED at the same time - is it a case of launching a thread and using a "while True" loop in it ??? Is there any basic sample code (Python) to achieve this. Sorry if this is a real simple question I've only been playing with the RaspberryPI for a week. Thanks