I want to create a timer that will activate once I’ve turned a light on, which is active for 15 minutes and when it is over, turns the light off again. Judging by other forum posts about this topic, Thread::sleep stops the code until the timer is over but is only possible for smaller amounts of time. Now I don’t quite know what to do. I also tried with blockly, but there’s nothing like “wait x minutes” and my experience with actual coding is rather limited.
Thanks for any help!