Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 501

Use this tag for questions regarding how to get the time on an Arduino, how to create or use clocks with an Arduino, or anything that has time as a substantial factor in it. Also consider using [programming] or other more specific tags.

12 votes
3 answers
6k views

High precision timing on Arduino for serial communication

However the interval timings between successive time stamps appears to be increasing over time, affecting my plotting. … time=(time*4); //Print in a file for simulation //Serial.print(time); //Serial.print(" "); Serial.print(fanalog0,5); Serial.print("\n"); if (Serial.available …
hawkar's user avatar
  • 543
10 votes
3 answers
29k views

Arduino time keeping using millis() is not accurate or correct?

Am I correct in saying that the Arduino delay function affects the time keeping using millis()? … runs over and over again forever: void loop() { float ECG = eHealth.getECG(); time = millis(); Serial.print(time); Serial.print(" "); Serial.print(ECG, 5); Serial.println(""); delay …
hawkar's user avatar
  • 543