> >Mike Keitz is right on the fundamentals of simple resampling - linear > >interpolation does work. You only need to use more complex DSP routines > >if you want to account for sampling aperture (sinc 1/fs rolloff) and > >sample resolution. If the human eye is the observer, 8 bits and linear > >resampling is transparent > > > Surely the ideal way to do a general resample of the data is via Fourier > Transforms? > > Any comments anyone? It would be interesting to hear a bit more about the original problem. The statements from yourself & Mike are quite valid in themselves. However, if the original intention was to have half a dozen temperature samples in a 12C508, a Fourier transform to reconstruct the data and deconvolution to remove the aperture error may not be an appropriate solution. It may (or may not) be OT for the original question, but since Microchip have app notes on FFT, IMHO it is still within the realms of PICism. (I couldn't say it would be my first choice though). Steve. ====================================================== Very funny Scotty. Now beam down my clothes. ====================================================== Steve Baldwin Electronic Product Design TLA Microsystems Ltd Microcontroller Specialists PO Box 15-680 email: steveb@kcbbs.gen.nz New Lynn, Auckland ph +64 9 820-2221 New Zealand fax +64 9 820-1929 ======================================================