Arduino Timers: Reference: Russell Chapter 7
Arduino Timers: Reference: Russell Chapter 7
• Syntax: delay(ms)
• Where ms is the number of
milliseconds to pause
(unsigned long).
• f = 1 /T
• For example, if a newborn baby's heart beats at a frequency of
120 times a minute, its period (the interval between beats) is half
a second.
As calculated on
previous slide.
void loop()
{
// your program here...
}