WPAD Battery Demo

Location

$CAFE_ROOT/system/src/demo/wpad

Description

This sample program uses WPADGetBatteryLevel to show battery level on a display. When a Wii Remote is paired, a channel corresponding to it is changed and its battery level is shown.

NOTE:
The Cafe controller must be paired before this demo can be used.

Screen Display

CHAN The channels from 0 to 3 are shown. When a Wii Remote is paired, the quote of its corresponding channel shows a device type.
Bat Indicates the return value of WPADGetBatteryLevel(chan), the battery level.

Revision History

2013/05/08 Automated cleanup pass.
2012/08/27 DRAFT


CONFIDENTIAL