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<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 7<title>KPAD sample demo programs</title> 8</head> 9 10<body> 11 12<H1>Standard Controller High-Level Library (KPAD) Sample Demos</H1> 13 14<H2>Location</H2> 15<P><CODE>$REVOLUTION_SDK_ROOT/build/demos/kpaddemo</CODE></P> 16 17<H2>Compilation</H2> 18<P>Go to the <CODE>$REVOLUTION_SDK_ROOT/build/demos/kpaddemo</CODE> directory and type "make". An executable (<code>.elf</code>) file will be created under the <CODE>$REVOLUTION_SDK_ROOT/RVL/bin/demos/kpaddemo/</CODE> directory.</P> 19 20<H2>Execution</H2> 21<P>Navigate to the <CODE>$REVOLUTION_SDK_ROOT/RVL/bin/demos/kpaddemo/</CODE> directory and perform the following steps:</P> 22<ul> 23<li>To simply execute the application, run the <code>ndrun</code> script using the <code>.elf</code> file as the argument.</li> 24<li>To debug using CodeWarrior, do one of the following:</li> 25<ul> 26<li>Execute <code>$CWFOLDER/bin/IDE.exe</code>, using the <code>.elf</code> file as an argument.</li> 27<li>Launch <code>$CWFOLDER/bin/IDE.exe</code>, then drag and drop the <code>.elf</code> file.</li> 28<li>If the <code>.elf</code> file is associated with <code>$CWFOLDER/bin/IDE.exe</code>, double-click the <code>.elf</code> file.</li> 29</ul> 30 31</ul> 32 33<H2>Description</H2> 34<TABLE class="demo_list" border="1" > 35 <TBODY> 36 <TR> 37<TH><A HREF="./kpadsample.html">kpadsample</A></TH> 38<TD>This sample program verifies KPAD library functionality.</TD> 39 </TR> 40 <TR> 41<TH><A HREF="./swing.html">swing</A></TH> 42<TD>This sample program makes the program recognize the direction in which the user swings the Wii Remote and uses an arrow to display that direction on the TV screen.</TD> 43 </TR> 44 <TR> 45<TH><A HREF="./weight.html">weight</A></TH> 46<TD>This sample program confirms the sensor values reported from the four corners of the Wii Balance Board and the body weight calculated from those values.</TD> 47 </TR> 48 </TBODY> 49</TABLE> 50 51<H2>See Also</H2> 52<P> 53None. 54</P> 55 56<H2>Revision History</H2> 57<P> 582008/04/17 Added the <code>weight</code> demo.<br>2007/09/25 Initial version.<br> 59</P> 60 61<hr><p>CONFIDENTIAL</p></body> 62</HTML> 63