I want to play a bit with a little sound IC (sn76489) that needs a clock signal (4 Mhz max).
I’ve bought a few 4 MHz crystals and a frequency counter kit but at this moment they should be creeping slowly in my general direction on the back of dozy camels.
So, I wondered if I could just use a pin of the Nano to generate the clock signal, I found a page that says that I can and gave the code:
pinMode(11,OUTPUT); TCCR2A = ((1 << WGM21) | (1 << COM2A0)); TCCR2B = (4 << CS20); // prescaler TIMSK2 = 0; OCR2A = 3;
I’d like to ask if someone with the right tools can try this on a Nano and tell me if there is a 4 MHz signal on pin D11. I know that there is ‘something’ there but my DSO138 is waaaaay to slow to pick that kind of signal.
Thanks in advance