Is there a maximum delay with arduino?

hopefully i'm just missing something!

I need a delay of ten minutes which I programmed 600,000 milliseconds, but it seems to time out at a maximum of 10 seconds. Should this be happening? How do I use longer time delays?


nested loops? Not the most efficient way to do it, but it will work.

In this code z is the delay in minutes. Not sure if this would compile, give it a try.

for (int x =0; x<=z; x++){

for (int y =0; y<60; y++){
delay (1000);


You might be able to just do:


(without the L, it might try to put the value in an int, which can't hold an number that big).

Thanks guys, both methods worked well!!