On Wed, 23 Oct 2002 20:56:34 +0200, you wrote: >> Second if you choose to use 10bit PWM, it's annoying to work >> with. You >> must either encode to 8 (I would try recording the differential rather >> then absolute) or you could record the 10 bits and use 5 registers for >> 4 bits of info. Your choice, but let's just say it's annoying to >> implement the differential routine in assembly. :) > >I you store the data in '877 program memory you have 14 bits at each >address. Throw 4 away or go through the hassle of (un)packing... I was thinking maybe you could store two 7-bit samples per word, encoded in log form (like telecom codecs do), expanded to 10 bits linear via a lookup table. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu