Search found 2 matches

by messar
Fri Oct 19, 2018 8:53 am
Forum: Arduino
Topic: Odd mills behavior
Replies: 2
Views: 228

Re: Odd mills behavior

Hi,
Thanks for catching the error - missing a ;

Here is the corrected code:

Code: Select all

#include <Wire.h>
void setup()
{
Serial.begin(9600);
Wire.begin();
}
void loop() 
{ 
  Serial.println(millis());
}
by messar
Thu Oct 18, 2018 7:04 pm
Forum: Arduino
Topic: Odd mills behavior
Replies: 2
Views: 228

Odd mills behavior

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: #include <Wire.h> void setup() { Serial.begin(9600); Wire.begin(); } void loop() { Serial.println(mi...