How can I create Time interrupt that triggers after 2 minutes on uno
How can I create Time interrupt that triggers after 2 minutes on uno
I have not yet done the maths but possibly a 16bit timer with the pre-scaler set to max and the count to max, use an interrupt when it rolls over
you can also use a loop checking the time elapsed and then generate an interrupt or call a routine that does some event based on the elapsed time
What is the purpose of the timer, knowing this we will be able to give as better answer
I have not yet done the maths but possibly a 16bit timer with the pre-scaler set to max and the count to max, use an interrupt when it rolls over
you can also use a loop checking the time elapsed and then generate an interrupt or call a routine that does some event based on the elapsed time
What is the purpose of the timer, knowing this we will be able to give as better answer