run motor inside interrupt

Is the interrupt routine also telling the rest of the program what its done? If not then the two parts of the code
could end up fighting each other, so to speak..