$REVOLUTION_SDK_ROOT/build/demos/wbcdemo
Change directories to $REVOLUTION_SDK_ROOT/build/demos/wbcdemo and enter make. An executable file (.elf) will be generated under the path $REVOLUTION_SDK_ROOT/RVL/bin/demos/wbcdemo/.
Change to the $REVOLUTION_SDK_ROOT/RVL/bin/demos/wbcdemo/ directory and perform the following steps:
ndrun script using the ELF file as the argument:$CWFOLDER/bin/IDE.exe with the ELF file as an argument.$CWFOLDER/bin/IDE.exe, then drag and drop the ELF file.$CWFOLDER/bin/IDE.exe, double-click the ELF file.| handling_weight | Demo description: This demo consists of handling.c from wpadHealthdemo, with weight-conversion processing added.
It converts the values from the four balance sensors on the Wii Balance Board legs to weight (in kilograms) and displays it.The weight values shown on the right of the screen have the following meanings.
Operations Described:
Caution: WBCSetZEROPoint function. |
||||||||
|---|---|---|---|---|---|---|---|---|---|
| simple_wbc | Demo description: This demo easily shows how to control the Wii Balance Board. The code is a simplified version of the handling_weight demo. The values of the four balance sensors are converted to a weight value (in kilograms), and the total value is output to the console. (Nothing appears on the TV screen.) Operations Described:
|
||||||||
| balance | Demo description: This is the simple_wbc demo with an added center of gravity display.The values of the four balance sensors are converted to a weight value (in kilograms), and the total value is output to the console. (Nothing appears on the TV screen.) Operations Described:
|
2008/08/28 Revised terminology.
2008/02/26 Added the simple_wbc and balance demos.
2007/11/15 Initial version.
CONFIDENTIAL