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

HALF_PI (1.57079...)

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

Creative Commons License