I am trying to build a articulated arm robot for a school project. I am planning to use steppers to move the whole thing, controlled by L297 drivers. As you may or may not know, those need an external clock source. I also know that the Axon has 6 hardware timers. What i want to know is if i can use those timers to output a clock frequency that varies according to a preset rule (say... a sinusoidal pattern of sorts). Also note that i can't use a PWM type signal as used for servos, because for PWM you vary the duty cycle, not the frequency of the signal. Also... The signal is square wave as usual. The L298 uses the rising edge of the signal for stepping.
I am not asking for the code to do such a thing. If it's easy to code, i can probably do it myself, if it's not then i don't want anyone to wrack their mind over it for me
And, besides, I'm still in the "choosing the parts" stage.
Thanks for the help.