ah, square tracking makes it easier then, you've kind of making a juno-style DCO in reverse. interupt on rising edge and then some math after the first full wave cycle to go "hey i didn't decrement all the way (or hit zero). let me adjust my rate to match the frequency"
Comments