1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META http-equiv="Content-Style-Type" content="text/css">
6	<TITLE>WPAD Health Demos</TITLE>
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8</HEAD>
9<BODY>
10
11<H1>Wii Balance Board Accessory Sample Demos</H1>
12
13<H2>Location</H2>
14<P><FONT face="Courier New">$REVOLUTION_SDK_ROOT/build/demos/wpadHealthdemo</FONT></P>
15<H2>Compilation</H2>
16<P>Change directories to <FONT face="Courier New">$REVOLUTION_SDK_ROOT/build/demos/wpadHealthdemo</FONT> and enter <CODE>make</CODE>. An executable file (<CODE>.elf</CODE> file) will be generated within the path <CODE>$REVOLUTION_SDK_ROOT/RVL/bin/demos/wpadHealthdemo/</CODE>.</P>
17
18<H2>Running the Demos</H2>
19<P>Move to the <CODE>$REVOLUTION_SDK_ROOT/RVL/bin/demos/wpadHealthdemo/</CODE> directory and perform the following steps.</P>
20<ul>
21  <li>To simply execute a program, run the <code>ndrun</code> script using the <code>.elf</code> file as the argument</li>
22  <li>To debug using CodeWarrior, do one of the following:</li>
23<ul>
24<li>Execute <code>$CWFOLDER/bin/IDE.exe</code> with the <code>.elf</code> file as an argument</li>
25<li>Launch <code>$CWFOLDER/bin/IDE.exe</code>, then drag and drop the <code>.elf</code> file</li>
26<li>If the <code>.elf</code> file is associated with <code>$CWFOLDER/bin/IDE.exe</code>, double-click the <code>.elf</code> file</li>
27</ul>
28
29</ul>
30
31<H2>Description</H2>
32<TABLE border="1" cellpadding="3" cellspacing="0.1">
33  <TBODY>
34    <TR>
35      <TD><EM><STRONG><CODE>handling</CODE></STRONG></EM></TD>
36      <td>
37      Demo description:<br> This demo concerns the processing and use of commands when a Wii Balance Board accessory is connected.<br> The value of each sensor in the Wii Balance Board accessory's four corners, remaining battery life, and temperature will be displayed on screen when a Wii Balance Board accessory is connected.<br> <br> Description of Operations:<br>
38      <table>
39        <tr><td>A Button</td><td>: Turn on power to the Wii Balance Board accessory</td></tr>
40        <tr><td>B Button</td><td>: Turn off power to the Wii Balance Board accessory</td></tr>
41        <tr><td>X Button</td><td>: Get the first block of calibration values for the Wii Balance Board accessory</td></tr>
42        <tr><td>Y Button</td><td>: Get the second block of calibration values for the Wii Balance Board accessory</td></tr>
43        <tr><td>Z Button</td><td>: Update the temperature value for the Wii Balance Board accessory</td></tr>
44      </table>
45      </td>
46    </TR>
47  </TBODY>
48</TABLE>
49
50<H2>See Also</H2>
51<P><A href="../toc.html" target="contents"><CODE>WPAD Functions</CODE></A></P>
52
53<H2>Revision History</H2>
54<P>
552007/11/15 Initial version.<BR>
56</P>
57
58<hr><p>CONFIDENTIAL</p></body>
59</HTML>
60