Generating Waveforms with PCA
Generating waveforms of a particular frequency
.

Using the frequency output mode of the PCA, generate a square wave on pin CEX0. We will control the frequency with a global variable, but the range will be limited to 1 KHz to 250 KHz.

Be careful not to short pins with the large alligator clip scope probes.