Reference for Wiring version 0027+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name

TWO_PI (6.28318...)

Description TWO_PI is a mathematical constant with the value 6.28318530717958647693. It is twice the ratio of the circumference of a circle to its diameter. It is useful in combination with the trigonometric functions sin() and cos().
Syntax
TWO_PI
Usage Application
Related PI
HALF_PI
Updated on September 16, 2010 09:14:16pm PDT

Creative Commons License