…well, I’d need an oscilloscope to confirm, of course.
But I converted the Bresenham/Black algorithm to Arduino code, mixed in code from a Timer Interrupts tutorial from the web (I should link to that here), and loaded it up.
Worked the first time. Wow. I set up pin13 to oscillate, and the Arduino’s power LED is definitely steady on, where pin 13 is definitely blinking (saw it using POV). I set the Bresenham constants to do a 1Hz blink, and the LED started blinking slow enough to see.
Bring on the stepper motors!
oooh.. I wonder if I have a convenient 16-bit counter somewhere. hmm… must think on that.