Dec-28-2022, 02:16 AM
Quote: am trying to make a program that receives data from a bluetooth deviceUse multipricessing, running this code in a separate process.
Quote:until you press a button to make it stop.Wait for input in the "main" program and terminate the process https://pymotw.com/3/multiprocessing/basics.html