what is the problem in this motor control arduino code

thanks, not tried yet. seeking some more solutions