ADC reads time domain information so you don't need to find code where the frequency is showed but you want to find where it comes out of ADC. You shall search google first and find similar "self made oscilloscope" projects, look how they are built and how they actually work.
↧