[Solved] Reset variable every hour with SimpleTimer

Hi I would like to reset a value every hour but using simple.timer like below, will it halt all the other code for a hour or would every else code be executed over and over again?

timer.setInterval(36000000L, resetvalues);

void resetvalues()

powercount2 = 0;


@tjohansen your code is fine. Every hour it will call the function and reset the variable. All the rest of your code will continue to run. This is the power of SimpleTimer.

thats fantastic thanks for quick answer, was about to make som testcode to prove it though