porting Sparkfun's Arduino driver for the dSPIN (L6470) Stepper Motor Driver to the RaspberryPi