Lance Beck wrote: > The encoder I want to simulate sends 60 pulses per shaft revolution. > ... > Am I missing something? Yes, a factor of 60. Your encoder converts RPM directly to PPS, so your pulse rate varies from 10 to 500 pps (not 600 to 30000). > Assuming the first problem can be solved, would a lookup table be the > easiest way to handle feeding values to whatever method I use to vary the > pulse times or is there a simpler way? Another good application for DDS techniques. Many references in the archives. -- Dave Tweed -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu