Arduino robot problem with function Robot.turn()

Hi guys,

I've encountered a problem with my Arduino Robot.

From the project examples I've tried Disco Bot program and it seems to work fine. Afterwards I've tried to run Logo program and there is a issue in turning the robot.

Disco bot program uses function Robot.motorsWrite() and it works. I've tried to use this function in Logo program and it works as well, but I can't make a 90 degree turn.

Logo program uses function Robot.turn(), and for example if I press RIGHT, the robot will make left turn and starts to wobble on the spot.

Forward and backward movement seems to work without problem.

I've already tried the solution provided by user cedos14. There are no magnets around. I've exchanged batteries. I've tried the Compass program and it works fine.

If somebody knows what could be the problem, please let me know.

Thanks

Santai:
I've already tried the solution provided by user cedos14.

Please post a link to where that solution is described so we can know what you already tried.