How to Measure Frequency with an Oscilloscope