nn::hid::CTR::GyroscopeReader::SetAngle Member Function

Syntax

void SetAngle(
     f32 ax,
     f32 ay,
     f32 az
);

Arguments

Name Description
in ax Angle about the pitch axis. A value of 1.0 is taken as equal to 360 degrees.
in ay Angle about the yaw axis. A value of 1.0 is taken as equal to 360 degrees.
in az Angle about the roll axis. A value of 1.0 is taken as equal to 360 degrees.

Return Values

None.

Description

Resets the angle member of the GyroscopeStatus structure (obtained by the Read function) to an arbitrary value.

Revision History

2010/10/20
Initial version.

CONFIDENTIAL