CLOCK of 16MHz

Hi i want to generate a clock of 16MHz on any output pin of my arduino uno

PLease guide with code example

Hi i want to generate a clock of 16MHz on any output pin of my arduino uno

You want to turn a pin on and off in one clock cycle? Good luck with that.

You can get 16 mhz on one pin, the CLKO pin, by setting a fuse.

Otherwise, fastest is 8.

DrAzzy:
You can get 16 mhz on one pin, the CLKO pin, by setting a fuse.

Otherwise, fastest is 8.

Thanks for the reply, can you please tell me how can this be done? and which pin on arduino uno is CLKO pin?

PaulS:
You want to turn a pin on and off in one clock cycle? Good luck with that.

Hey paul, i have another device connected to my arduino that needs a clock of 16 MHz, i want my arduino to continously output this clock, but not using a digital pin in a loop to turn it on and off,

I want some constant output of 16MHz

Clock Output Buffer
The device can output the system clock on the CLKO pin. To enable the output, the CKOUT
Fuse has to be programmed. This mode is suitable when the chip clock is used to drive other circuits
on the system. The clock also will be output during reset, and the normal operation of I/O
pin will be overridden when the fuse is programmed. Any clock source, including the internal RC
Oscillator, can be selected when the clock is output on CLKO. If the System Clock Prescaler is
used, it is the divided system clock that is output.

I hate it when Google breaks.