A little explanation on what you are trying to actually generate might be helpful. If you are trying to derive information for a system in real time you might want to look at distributing the calculations over time and going back to first principles of integration and differentiation. Walter Banks > > Using Timer 1 on a 16C64 Micro, I wish to generate an acceleration profile. > This profile is governed by the equation: