Hi there Thanks for all the great info guys. Yeah I will go the mathematical route. I did figure it out in advance but wanted to know if anyone else used the table. Using the table would yield extremely fast results...especially needed when the engine is running at high RPM. I looked at the code generator. Harold has a significant point. Can I use the number I want to multiply by, as an input variable? Marcel Birthelmer-2 wrote: > > On Mon, Aug 10, 2009 at 7:40 PM, Harold > Hallikainen wrote: >> The math is probably a constant times the reciprocal of the rotation >> time. >> This is a perfect job for the code generator at >> http://www.piclist.org/techref/piclist/codegen/constdivmul.htm . >> >> Harold > > The code generator would only be able to generate x * 1 / constant, > not constant * 1 / x, though, no? > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > > -- View this message in context: http://www.nabble.com/RPM-Look-Up-Table-tp24804199p24912730.html Sent from the PIC - [PIC] mailing list archive at Nabble.com. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist