Motor.c

Code from “Generate stepper-motor speed profiles in real time” (David Austin, Embedded Systems Programming magazine, January 2005). The article can be found at http://www.eetimes.com/design/embedded/4006438/Generate-stepper-motor-speed-profiles-in-real-time