At 07:30 PM 8/22/2004 +0200, you wrote: >Ken, > >thanks for setting me on the track. After some analysis in the spread >sheet this turned out to be trivial (as always... ). Thanks again! > >Regards >/Ake Glad you got it to work. Regular C is not very well suited to this sort of thing because it lacks fractional multiplication and division. Of course they can be implemented with assembler routines while we wait (& wait) for proposed embedded extensions. Best regards, Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body