(Solved)Steppermotor and serial.print and read combined

Hi Robin,

I could not get your solution to work with satisfaction.
So I went for a bypass.
2 x Nano
Nano1 to measure Position and Force
nano2 to control the stepper motor.
Two digital pins in between them to control the ON/OFF of the stepper motor.

Thanks for all the effort and time taken.

Paco