As a pure learning exercise I wanted to work through writing a stepper motor control library from scratch, without using any example source.
Microchip have an app note from back in the Atmel days, AVR446 (http://ww1.microchip.com/downloa...), which is helpful - though at the same time I'm lost.
Section 2.3.1, calculation of the first counter delay c0 - am I just being thick, or how does one solve for c0, without knowing tt? I feel like I'm missing something obvious but after a day of reading and re-reading, thought I'd see if anybody could point me to where I'm missing the point!
All the best