Need little help with this code

Robin2:
You still have two extra copies of digitalRead(stop_check);

Hi
i have the extra copies because every scope(function) have to check always the same thing..

Robin2:
I strongly recommend that you don't use blocking WHILE loops in your code. Just use IF and allow loop() to do the iteration.

...R

i dont know any other method beside 2 of them that can make code do what i want..

i want the motor start run until an other command be present

maybe if use the ''goto'' method i can do that... i will try it