I2C slave reply

Hi

Just did some further tests ...

i am able to get the motor running if I remove

while(Stepper1.currentPosition()!=Stepper1.targetPosition())
{ // do nothing
}

I think this code blocks the slave operation . Any idea what else I can replace this with .

Thanks