Tag Archives: mhz

LPC812 on a 20MHz External Crystal

Because the NXP LPC800 clock options and the setup are somewhat confusing, I thought I would post this example. Here is my LPC812 dev board running on a 20MHz external crystal. The frequency counter is reading the clockout pin which … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , | Leave a comment

FREQUENCY and TIME

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

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