chjno / MEDP349-Fall17

MEDP 349 Physical Computing, Hunter College, Fall 2017
3 stars 3 forks source link

Timing events using millis() #4

Open chjno opened 7 years ago

chjno commented 7 years ago

In response to a question James asked in week 1:

The millis() function returns the number of milliseconds since the start of the program. You can use this to time events in your sketch.

demo

chjno commented 7 years ago

oops, fixed the link to the demo