Firmware Excerpt Stepper Motor Initialization routine Excerpt of custom C code written for motion controller to run on Arduino Mega 2560.