ADALINE that takes Fourier of the input signal is implemented and compared with its FFT. You can find harmonics in your signal alternative to FFT or just play with it.
A sample output is as follows
Remember that it does not update the base frequncy.