If the alarm goes off while running another scenario, Let's continue with the scenario where we turned off the alarm I'm going to make a program I don't know what code to use I don't know what functions I should use to make it Please reply.<
python
Utilization of functions is not a problem, but a little understanding of the mcu (cpu) or os of the equipment you want to run is required.
Interrupt knowledge is required. Are you trying to do it's for Windows
With Windows, you can simply use multi-thread or use Python's signal.
See the example below.
© 2024 OneMinuteCode. All rights reserved.