On Tue, 23 May 2000, [Iso-8859-1] Kübek Tony wrote: > Hi, > Following up on the last weeks thread on digital filtering > on pic's I managed to get a few hours of 'free' time and > implement an 24 bit version of Scott Dattalo's 'twist' routine. > Enclosed you will find an ( albeit a bit bloated :-) ) fully > working 256 step IIR filter for 24 bit values. > And by 256 steps I mean how many steps one has to weigh against > new readings versus old readings. > > I'm by no means an good PIC programmer, so I guess that > the code could be improved quite a bit. :-) > > Also the code is very easy to modify for 16 or even 8 bit variables. > > Have fun, > > /Tony > > BTW How is it with 'enclosed' code ? acceptable ? it IS regarding > PIS's and I consider it to be somewhat useful, but others might > not agree with me, please give me a note if You find this 'unwanted'. > Unfortunately I dont have access to private webspace DS Tony, I haven't examined the code, but I placed it on my web page: http://www.dattalo.com/technical/software/software.html http://www.dattalo.com/technical/software/pic/twist24.asm Scott