1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<meta name="GENERATOR" content="Microsoft FrontPage 3.0"> 7<meta http-equiv="Content-Style-Type" content="text/css"> 8<link rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 9<title>WBCSetupCalibration</title> 10</head> 11 12<body> 13 14<h1 align="left">WBCSetupCalibration</h1> 15 16<h2>C Specification</h2> 17 18<dl> 19 <dd><pre><code>#include <revolution/wbc.h></code></pre> 20 </dd> 21 <dd><pre>s32 WBCSetupCalibration ( void );</pre> 22 </dd> 23</dl> 24 25<h2>Arguments</h2> 26None. 27 28 29 30 31 32 33<h2>Return Values</h2> 34<table border="1" cellpadding="3" cellspacing="0.1"> 35 <tr> 36 <td width="120" bgcolor="#ffffe8"><code>WBC_ERR_NONE </code></td> 37 <td width="520">The WBC library received the command. </td> 38 </tr> 39 40 <tr> 41 <td width="120" bgcolor="#ffffe8"><code>WBC_ERR_BUSY </code></td> 42 <td width="520">The WBC library did not receive the command. Wait a short time and call the function again. </td> 43 </tr> 44 <tr> 45 <td width="120" bgcolor="#ffffe8"><code>WBC_ERR_NO_CONTROLLER </code></td> 46<td width="520">The connection was broken. </td> 47 </tr> 48</table> 49<h2>Description</h2> 50Reads 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 <a href="WBCGetCalibrationStatus.html"><code>WBCGetCalibrationStatus</code></a> to determine whether this function has completed normally. 51<p></p> 52 53 54 55 56<h2>See Also</h2> 57<a href="WBCGetCalibrationStatus.html"><code>WBCGetCalibrationStatus</code></a> 58 59<h2>Revision History</h2> 60 61<p> 622007/10/02 Initial version. 63</p> 64<hr><p>CONFIDENTIAL</p></body> 65</html> 66