Interrupt Driven Stepper Module
Posted: Fri Mar 21, 2008 11:44 pm
Interrupt-driven stepper motor module posted alongside my earlier (non-interrupt) effort:
http://www.sfcompiler.co.uk/wiki/pmwiki ... epperMotor
Seems to work fine for me but I'd be extremely grateful if one of the giant brains who frequent this forum could have a quick look and let me know if the context save in the interrupt is okay or if I need to do more. To my mind it should be okay (the interrupt only does some word additions, subtractions and comparisons and doesn't call any functions or subs) but my understanding of this stuff is less than complete.
Cheers,
Andy.
http://www.sfcompiler.co.uk/wiki/pmwiki ... epperMotor
Seems to work fine for me but I'd be extremely grateful if one of the giant brains who frequent this forum could have a quick look and let me know if the context save in the interrupt is okay or if I need to do more. To my mind it should be okay (the interrupt only does some word additions, subtractions and comparisons and doesn't call any functions or subs) but my understanding of this stuff is less than complete.
Cheers,
Andy.