Introduction - If you have any usage issues, please Google them yourself
ffr calculating based on TMSLF2812 Using 8 points, takes about 1.2 ms to execute one FFT.
Sets up General Purpose Timer 1 to generate events at 10 kHz.
Will produce 10 kHz output on T1PWM and T1PWM pins