1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
4<head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta http-equiv="Content-Style-Type" content="text/css" />
7    <link rel="stylesheet" href="../../css/manpage.css" type="text/css" />
8</head>
9<body>
10
11<h1>demo2 Demo</h1>
12
13<h2>Description</h2>
14
15<div class="section">
16    <p>This sample uses multiple features of the CTR-SDK simultaneously.<BR> This demo uses the following features simultaneously.</p>
17    <ul>
18        <li><CODE>snd</CODE></li>
19        <li><CODE>fnd</CODE></li>
20        <li><CODE>hid</CODE></li>
21        <li><CODE>gx</CODE>(<CODE>LightingVertex</CODE>)</li>
22        <li><CODE>ulcd</CODE></li>
23        <li>Sleep Mode</li>
24<li>HOME Button</li>
25    </ul>
26</div>
27
28<h2>Required Environment</h2>
29
30<div class="section">
31    <p>None.</p>
32</div>
33
34<h2>How to Use</h2>
35
36<div class="section">
37    <table>
38        <thead>
39        <tr>
40            <th>Input</th>
41            <th>Operation</th>
42        </tr>
43        </thead>
44        <tr>
45            <td>+Control Pad<BR>L and R buttons</td>
46            <td>Changes the cameras' position.</td>
47        </tr>
48        <tr>
49            <td>A, B, X, Y Buttons<BR>Circle Pad<BR>Touch Panel</td>
50            <td>Changes the cameras' focus.</td>
51        </tr>
52        <tr>
53            <td>Microphone</td>
54            <td>Throws the ball in the <CODE>LightingVertex</CODE> demo into the air.</td>
55        </tr>
56        <tr>
57            <td>START Button</td>
58            <td>Resets the cameras' position and focus.</td>
59        </tr>
60        <tr>
61<td>HOME Button</td>
62            <td>Moves to the DevMenu. Restores the screen to original status if pressed again.</td>
63        </tr>
64        <tr>
65            <td>Close the system.</td>
66            <td>The system will enter Sleep Mode. Opening the system returns the screen to original status.</td>
67        </tr>
68    </table>
69</div>
70
71<h2>Notes</h2>
72
73<div class="section">
74    <p>None.</p>
75</div>
76
77<h2>Execution Procedure</h2>
78
79<div class="section">
80    <p>The following screens are displayed when you run the demo.</p>
81    <p><img src="Fig/image2010_1202_1812_0.PNG"></p>
82
83    <h3>Upper screen</h3>
84    <ul>
85        <li>gx<br /> demos - gx - DMPGL - The <CODE>LightingVertex</CODE> demo is running. A stereoscopic view is possible by using the 3D depth slider.
86        </li>
87        <li>mic<br /> Blows the ball up into the air by blowing into the microphone.
88        </li>
89<li>hid<br /> Changes the position and focus of the cameras using input from the buttons, Circle Pad, and Touch Screen.<br />Tilt can also be controlled using the acceleration sensor.<BR>Resets camera position by pressing the Start Button.
90        </li>
91    </ul>
92
93    <h3>Lower screen</h3>
94
95    <ul>
96        <li>fnd<br /> Displays the time obtained from the RTC in the upper part of the lower screen.
97        </li>
98    </ul>
99
100    <p>The following log is also displayed in debug output.</p>
101    <pre class="code">Demo Start
102BUTTON_UP,DOWN,LEFT,RIGHT,L,R : Change camera position
103AnalogStick, TouchPanel, BUTTON_A,B,X,Y : Change camera focus
104Accelerometer : Incline plane
105Mic : Blow ball
106BUTTON_START : Reset camera position and focus</pre>
107
108    <h3>Other</h3>
109
110    <ul>
111<li>snd<br /> Emits a sound effect when the ball falls on the upper screen.
112        </li>
113        <li>fnd<br /> Uses the expanded heap region.
114        </li>
115    </ul>
116
117</div>
118
119<h2>Revision History</h2>
120
121<div class="section">
122    <dl class="history">
123        <dt>2011/06/24</dt>
124<dd>Revised the descriptions of overview and debug logs.</dd>
125        <dt>2011/04/07</dt>
126<dd>Revised the descriptions of button controls.</dd>
127        <dt>2011/02/02</dt>
128        <dd>Initial version.</dd>
129    </dl>
130</div>
131
132
133<hr><p>CONFIDENTIAL</p></body>
134</html>