Tag Archives: timer0

Examination of the Arduino micros() Function

Background To fully understand the micros() function, you first need to understand the Timer #0 overflow interrupt handler which was covered in this post. Recall the typical Ardiuno runs on a 16MHz oscillator. Both the millis() and micros() functions base … Continue reading

Posted in Uncategorized | Tagged , , , , , , | 3 Comments

Examination of the Arduino millis() Function

Clock Cycles First, some background information. The typical Arduino has a 16MHz oscillator. A 16MHz oscillator results in the microcontroller having a clock cycle once every 16-millionth of a second. A clock cycle is roughly the time it takes for … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 23 Comments