pic15c54
Hi !
If you intend to use a PIC as uC to measure the frequency from the LM311 oscillator, chose the TMR1 to count pulses. It can count up to 65535 so as AADE´s LC meter has the maximum frequency of around 700kHz fo the oscillator, you just count on TMR1 for just 10 ms (7000 pulses) and make the calculations with a frequency 100 times smaller. But you can change the counting period to 100 ms if the frequency falls below 100kHz (1000 pulses - for larger capacitanges or inductances) for example, so TMR1 counts up to 10000 instead. After the counting time, you turn off the TMR1, read the registers and make the calculations (remember you have to use floating point math).