Is it possible to set the millis counter? I'd like to set it to 2**32 minus a few, to test the 49 day rollover works in my code.
Thanks
MB
Is it possible to set the millis counter? I'd like to set it to 2**32 minus a few, to test the 49 day rollover works in my code.
Thanks
MB
No.
Use an unsigned long variable set to what you need, increment it, use it instead of millis() in your test.