How can I sample readings from sensor?

What @PaulS said and also

How can this work
float sens = FreqReading();

when FreqReading() doesn't return a value?

...R