nn::hid::CTR::GyroscopeReader::GyroscopeReader Constructor

Syntax

GyroscopeReader(
     AccelerometerReader * pAccelerometerReader = NULL,
     Gyroscope & gyroscope = GetGyroscope()
);

Arguments

Name Description
pAccelerometerReader
gyroscope
in pAccelerometrReader When reference to AccelerometerReade is specified, the value output from the referenced AccelerometerReade is used for making the correction. NULL is passed as the default, in which case the correction is made using the internally stored default AccelerometerReader.

Description

Constructor.

Initialize with the nn::hid::CTR::Initialize function before creating an instance.


CONFIDENTIAL