Hello, I have this simple code to run the Bazz game. The object is to run siren&led when winning or run different siren&led when losing. When the handle touches the wire( course1) the led&siren start, and when touches the endpoint(course2) other siren&led start.
This is the link for simulation bazz - Wokwi ESP32, STM32, Arduino Simulator
I added buttons instead of the wire and handle
I think the code has multiple errors. I want when the siren&led for winning to start I cannot start the other siren&led until the reset button is pressed
Thanks