- Thu Oct 18, 2018 7:04 pm
#200705
I am working with a nRF52832 breakout board, and trying to use mills() to time a 30 minute event. Surprisingly, I looks like I'm running into some type of rollover at 512 seconds.
The following code:
Thanks,
matt
The following code:
Code: Select all
GIves this every time I run. (abbreviated)#include <Wire.h>
void setup()
{
Serial.begin(9600);
Wire.begin();
}
void loop()
{
Serial.println(millis())
}
Code: Select all
Any help would be appreciated on what needs to change to avoid this.511974
511983
511991
511999
8
11
15
19
23
Thanks,
matt