Page 1 of 1

Variable notch filter

Posted: Sat Mar 07, 2015 2:57 pm
by bdoan
RE: http://www.spinsemi.com/forum/viewtopic.php?t=82

I have pared this code down and still have a useable, tunable notch.

What I need to figure is the relation between the POT value (for frequency) and the actual notch frequency.

;Frequency control
rdax pot0,1 ;get freq control
rdfx p0fil,0.01 ;average with filter
wrax p0fil,1
wrax f1,0