Create a Frequency Clock Generator in Arduino

Hello, I am new to Arduino and its software. I am currently taking a class at school in which we have to design and build circuits. Some of these circuits use chips 74LS112, which looks something like this on the inside: http://cdn.shopify.com/s/files/1/0409/9041/products/77ee4b376505512ae50ad031291102d9_grande.jpeg?v=1407378222

We connect the CKs together and connect to a CLOCK which is used to adjust the frequency. Is there a way to design and program Arduino to serve as my CLOCK? If so, how do I do that?

I have attached a picture of the CLOCK machine that I am referring to.

Thank you for your help.

Frequency Clock Generator.jpg

The tone() function can be used to generate "clock" signals between about 32Hz and 4MHz, with some "complications."
(at high frequencies, the frequencies actually available become very quantized - you might get 4MHz and 2MHz, but not 2.45MHz...)

Doesn't anybody read the datasheet anymore?

328p datasheet

I refer you to sections 19.1, 20.1 and 22.1 that itemize the features of each of the three timers, one of which is Frequency Generator. Each discussion goes on to tell you how to set up so that an OCnx pin toggles according to your designs. You can actually get (and I've measured it) an 8MHz signal (4 is a lot cleaner).

dkw

Doesn't anybody read the datasheet anymore?

Not Arduino "Users", most of whom are blissfully vague on details like "which chip is on my Arduino anyway?"
And of course core arduino functions (may) already use the timers in mysterious ways. Both of which are things that the user does not need to be aware of, under normal circumstances.

Someone using 74LS112 in a class might find the datasheet interesting. A single AVR timer module contains gates probably equivalent to several dozen of those chips.

Sorry, just assumed that if one was embarking on a J-K flip-flop road to monostable multi-vibrators, they might have the appropriate support documentation. I still have my multi-volume set from TI that dates back to when Dog was a puppy.