WBCSetupCalibration

Syntax

#include <cafe/pads/wbc/wbc.h>

BOOL WBCSetupCalibration ( void );

Parameters

None.

Return Values

Returns TRUE if the read of the calibration data started successfully. Returns FALSE if it failed.

Description

Reads calibration data necessary for weight conversion from the Wii Balance Board. After the calibration data is obtained, there is no need to obtain it again as long as the Wii Balance Board does not change. Use WBCGetCalibrationStatus to determine whether this function has completed as expected.

NOTE:
Actual processing continues for a short time (about 650ms) before completing.

Do Not Call From

Background Do not call this function from the background.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.
Multiple Cores Do not call this function from more than one Core.

See Also

WBCGetCalibrationStatus

Revision History

2013/05/08 Automated cleanup pass.
2011/07/20 Initial version.


CONFIDENTIAL