Sine wave

circuitdh:
How would i increment between 0 and 2PI.

...
rads += 0.01; //0.01 is just an example, rads is a float
if(rads >= TWO_PI)
  rads -= TWO_PI; //bring it back into the correct domain
...