24bit digital filter, based on Scott's 'twist.asm' - enclo sed !
KŸbek Tony email (remove spam text)
part 0 1835 bytes content-type:application/octet-stream; name="Twist24.asm"Hi,<200005232158.XAA21821@mn10.swip.net> 7bit
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.
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 KŸbek, Flintab AB
Content-Type: application/octet-stream; name="Twist24.asm"
Content-Disposition: attachment; filename="Twist24.asm"
Attachment converted: creation:Twist24.asm (????/----) (00015824)
See also: www.piclist.com/techref/microchip/math/filter.htm?key=filter
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the