What's the code that turns the LED on via SSH message?
How does that interact with this separate process trying to control the same hardware?
You possibly need to stay in a program loop. I think signal.pause() will halt your program and await a signal to do something, which may not allow OnPressed handlers to operate.
How does that interact with this separate process trying to control the same hardware?
You possibly need to stay in a program loop. I think signal.pause() will halt your program and await a signal to do something, which may not allow OnPressed handlers to operate.
Statistics: Posted by PiGraham — Wed Dec 11, 2024 2:28 pm