> It also might be possible to do a hybrid lookup/calculate option. Several > smaller lookup tables that handle one or two parameters, then some more > strait forward arithmetic with those values. Hmm.. In the Atmel ATMega128, I did some thermal compensation code that might be similar to what you're getting to. For each input parameter, I built a table of constants and used the AVR's FMULT (fractional multiply) to compensate. If I remember right, there were something like 16 variables involved, and 16 entries per variable. The Mega AVRs also allow you to read and write code space a word at a time, so you could easily over-write the table values with something else. Overall horsepower is better than a PIC at equivalent clock, most instructions are single clock cycle, some two, and there is no paging/banking etc to deal with. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist