but while inside the ISR - no other code is running (there is only one processor).so why should i tell synchronize the code inside the ISR with the rest of the code.
the motors are permanently rotating backwards.
when no interrupt occurs and joystick is either idle or tilted
a new value is set to xx_new,yy_new and the tank will move as desired.
but i get strange results - the motors are permanently rotating backwards