Edward Witte wrote: > > Does anyone have some code which interpolates two 8 bit values from a lookup > table, to run on a 16F84? Ed, You might want to take a look at: http://www.interstice.com/~sdattalo/technical/software/pic/picsine.html This code uses linear interpolation in calculating the sine of an angle. The table contains 16 elements. An 8-bit 'frequency' variable is split into two nibbles. The upper nibble indexes the table while the lower one interpolates between consecutive entries in the table. It executes in about 65 cycles, but this can be reduced by 7 or so. (There's some extra stuff specific to the sine function.) Scott -- __o I buy pizza instead of gas. \< (*)/(*)