Is it possible to turn the robot to a certain degree with Compass?

Farhad:
Can you please suggest any solution here.

I suggest you change your design to use the approach that johnwasser showed you.