WBCSetupCalibration

C Specification

#include <revolution/wbc.h>
s32 WBCSetupCalibration ( void );

Arguments

None.

Return Values

WBC_ERR_NONE The WBC library received the command.
WBC_ERR_BUSY The WBC library did not receive the command. Wait a short time and call the function again.
WBC_ERR_NO_CONTROLLER The connection was broken.

Description

Reads calibration data necessary for weight conversion from the Wii Balance Board accessory. Once the calibration data is obtained, there is no need to obtain it again as long as the Wii Balance Board accessory does not change. Bear in mind that actual processing continues on for a short time (about 650ms) before completing. Use WBCGetCalibrationStatus to determine whether this function has completed normally.

See Also

WBCGetCalibrationStatus

Revision History

2007/10/02 Initial version.


CONFIDENTIAL