Overview
- Object ID : 2490 (2013-04-11)
- Author : BR | added by Archiver
- Content : Code
- Microcontroller : Propeller 1
- Languages : PASM, SPIN
- Category : Signals
- Licence : Other
Content
Moving average filter, implemented in PASM, with recursion. Starts a cog which continuously polls a memory location looking for a data value. Max filter bandwidth ~1M samples/sec @ 80 MHz, max filter kernel length is 400. This filter can be daisy-chained to produce triangular and Gaussian filter kernels.
V1.1: fixed small bug in the way that a null value is evaluated.