im new to arduino and have to make a timed loop so every 5 seconds it decreases a variable by 1 how do i do
Welcome to the forum.
Please read the post at the start of any forum , entitled "How to use this Forum".
This will help with advice on how to present your code and problems.
Have you written any code?
Is this an assignment?
What resources have you been provided to understand this?