generating a 2 MHz clock signal

I have an IC that requires an external 2 MHz clock. I have a 16 MHz crystal laying around and a ripple counter, but I don't know how to make a circuit to send the signal to the IC's single clock pin.

Is it possible to output 2MHz 50% duty cycle signal, while doing other processing on the arduino? I read the article on Timer1 and thought I might be able to use PWM, but I guess it only supports frequencies up to 1 MHz.
I would try to just make a loop that sets a digital pin HIGH/LOW, but I fear the frequency would vary based on the rest of the program.

search the forum for 2 MHZ and you will find - http://arduino.cc/forum/index.php/topic,65434.0.html - and others

search is in the upper right corner :slight_smile:

haha ok great. I was searching for "clock signal", "clock pin" etc but I only got threads about actual clocks :roll_eyes:

I know a company which has a full time internet searcher a.k.a. information broker. He talked to people and could distill the best words from the story you told to find things.

Google also has a lot of options people seldom use but which are worth to know, check:

and