What am I doing wrong here? Program to servo issue.

GCC will optimize 2*pi at compile time.