Inconsistent Initial Loop Time


hello, doing simple serial printing program based on 2 status variable @ regular rate of 10 ms.

the flow such collect start time, task time, , final loop time. delta between start , task times calculated , compared until reaches 10ms, then, report final loop time information only.

what i'm noticing @ start of every program, first 2 or 4 loops have inconsistent task time rest of loop. in particular, shown in shot took, task time same start time though there serial printing tasks?

are there processor initialization routine taken place here? can speculate during initialization, parts of process activated yet. insight great. thank in advance!

more information:
arduino ide 1.8.1
elagoo mega2560

maybe link ...

click here



Arduino Forum > Using Arduino > Programming Questions > Inconsistent Initial Loop Time


arduino

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts