Hello everyone.
The task:
Use the button to turn on and off the LED after a while.
For example, we pressed a button - the LED turned on and went out after 10 seconds. And so it should turn itself on every 5 minutes for 10 seconds. Then, press the button and the LED stops working and until the next button press, it does not work.
What features are better to use? Or who has a similar example?