Dear all, I'm starting a project around an Arduino Mega. I have a clock and a compass connected to it. It will be installed in a carousseldoor(big turning one) and will control an art installation with 3 steppermotors and 4 servo's. The installation will be running for months and months.
For interactions I use the connected clock to trigger stuff, but for my pulse generator I'll need some time based way of creating it. This can be timebased on millis() or with the delay() command.
Now for my question; I know that millis() will overflow after +- 50 days. Does the delay() or the delayMicroseconds() command also have a problem like this? Or will arduino be able to 'always run' infinite?
If I may ask, what would you guys recommend?
Thank in advance Rob