can anyone help me connect a through beam sensor with TTL output and a stepper motor with stepper driver to a parallel port? also does someone knew the code to control it using MATLAB?