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>SC Demo Programs</TITLE>
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8</HEAD>
9<BODY>
10
11<h1>Console Settings (SC) Sample Demo</h1>
12
13<h2>Location</h2>
14<p>
15<code>$REVOLUTION_SDK_ROOT/build/demos/scdemo</code>
16</p>
17
18<H2>Compilation</H2>
19<p>
20Change to the <code>$REVOLUTION_SDK_ROOT/build/demos/scdemo</code> directory and execute <code>make</code>. An executable file (<code>.elf</code> file) will be generated within the path <code>$REVOLUTION_SDK_ROOT/RVL/bin/demos/scdemo/</code>.
21</p>
22
23<H2>Execution</H2>
24<p>
25Change to the <code>$REVOLUTION_SDK_ROOT/RVL/bin/demos/scdemo</code> directory and do the following:
26</p>
27
28<ul>
29<li>To simply execute the application, run the <code>ndrun</code> script using the <code>.elf</code> file as the argument.</li>
30<li>To debug using CodeWarrior, do one of the following:</li>
31<ul>
32<li>?Execute <code>$CWFOLDER/bin/IDE.exe</code> with the <code>.elf</code> file as an argument.</li>
33<li>?Launch <code>$CWFOLDER/bin/IDE.exe</code>, then drag and drop the <code>.elf</code> file.</li>
34<li>If the <code>.elf</code> file is associated with <code>$CWFOLDER/bin/IDE.exe</code>, double-click the <code>.elf</code> file</li>
35</ul>
36
37</ul>
38
39<H2>Description</H2>
40<table class="demo_list" border="1">
41  <tbody>
42    <tr>
43<th>scdemo</th>
44<td>References the console settings and uses the <code>OSReport</code> function to display the results.</td>
45    </tr>
46  </tbody>
47</table>
48
49<H2>See Also</H2>
50<p class="reference">
51<a href="../list.html">SC API Feature List</a>
52</p>
53
54<H2>Revision History</H2>
55<P>
562006/08/26 Added the return values for <code>SCGetLanguage</code>.<br>2006/08/15 Added <code>SCGetWpadMotorMode</code>, <code>SCGetWpadSensorBarPosition</code>, <code>SCGetWpadSpeakerVolume</code>, <code>SCSetWpadMotorMode</code>, <code>SCSetWpadSensorBarPosition</code>, and <code>SCSetWpadSpeakerVolume</code>. Deleted the emulator functions.<br>2006/05/29 Initial version.<br>
57</P>
58
59<hr><p>CONFIDENTIAL</p></body>
60</HTML>
61