root/branches/livecd/RWTHMindstormsNXT/doc/functions/help/NXT_GetFirmwareVersion.html @ 462

Revision 462, 4.0 KB (checked in by behrens, 5 years ago)

add warning (NXTmotor), comments, docus

Line 
1
2<!DOCTYPE html
3  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4<html>
5   <head>
6      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7   
8      <!--
9This HTML is auto-generated from an M-file.
10To make changes, update the M-file and republish this document.
11      -->
12      <title>NXT_GetFirmwareVersion</title>
13      <meta name="generator" content="MATLAB 7.7">
14      <meta name="date" content="2008-11-04">
15      <meta name="m-file" content="script_NXT_GetFirmwareVersion">
16<link type="text/css" rel="stylesheet" href="../../style.css">
17  </head>
18   <body>
19<p class="header">RWTH - Mindstorms NXT Toolbox</p>
20      <div class="content">
21         <h1>NXT_GetFirmwareVersion</h1>
22         <!--introduction-->
23         <p>Returns the protocol and firmware version of the NXT</p>
24         <!--/introduction-->
25         <h2>Contents</h2>
26         <div>
27            <ul>
28               <li><a href="#2">Syntax</a></li>
29               <li><a href="#5">Description</a></li>
30               <li><a href="#9">Examples</a></li>
31               <li><a href="#12">See also</a></li>
32               <li><a href="#14">Signature</a></li>
33            </ul>
34         </div>
35         <h2>Syntax<a name="2"></a></h2>
36         <p><tt>[protocol_version firmware_version] = NXT_GetFirmwareVersion()</tt></p>
37         <p><tt>[protocol_version firmware_version] = NXT_GetFirmwareVersion(handle)</tt></p>
38         <h2>Description<a name="5"></a></h2>
39         <p><tt>[protocol_version firmware_version] = NXT_GetFirmwareVersion()</tt> returns the protocol and firmware version of the NXT as strings.
40         </p>
41         <p><tt>[protocol_version firmware_version] = NXT_GetFirmwareVersion(handle)</tt> uses the given NXT connection <tt>handle</tt>. This should be a struct containing a serial handle on a PC system and a file handle on a Linux system.
42         </p>
43         <p>If no NXT <tt>handle</tt> is specified the default one (<tt>COM_GetDefaultNXT</tt>) is used.
44         </p>
45         <h2>Examples<a name="9"></a></h2><pre class="codeinput">   [protocol_version firmware_version] = NXT_GetFirmwareVersion();
46</pre><pre class="codeinput">   handle = COM_OpenNXT(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>);
47   [protocol_version firmware_version] = NXT_GetFirmwareVersion(handle);
48</pre><h2>See also<a name="12"></a></h2>
49         <p><a href="COM_GetDefaultNXT.html">COM_GetDefaultNXT</a></p>
50         <h2>Signature<a name="14"></a></h2>
51         <div>
52            <ul>
53               <li><b>Author:</b> Alexander Behrens (see AUTHORS)
54               </li>
55               <li><b>Date:</b> 2008/05/22
56               </li>
57               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University
58               </li>
59            </ul>
60         </div>
61         <p class="footer"><br>
62            Published with wg_publish; V1.0<br></p>
63      </div>
64      <!--
65##### SOURCE BEGIN #####
66%% NXT_GetFirmwareVersion
67% Returns the protocol and firmware version of the NXT
68%%
69%% Syntax
70% |[protocol_version firmware_version] = NXT_GetFirmwareVersion()|
71%%
72% |[protocol_version firmware_version] = NXT_GetFirmwareVersion(handle)|
73%%
74%% Description
75% |[protocol_version firmware_version] = NXT_GetFirmwareVersion()| returns the protocol and
76% firmware version of the NXT as strings.
77%%
78% |[protocol_version firmware_version] = NXT_GetFirmwareVersion(handle)| uses the given
79% NXT connection |handle|. This should be a struct containing a serial handle on a PC system and a file handle on a Linux system.
80%%
81% If no NXT |handle| is specified the default one (|COM_GetDefaultNXT|) is used.
82%%
83%% Examples
84   [protocol_version firmware_version] = NXT_GetFirmwareVersion();
85%%
86   handle = COM_OpenNXT('bluetooth.ini','check');
87   [protocol_version firmware_version] = NXT_GetFirmwareVersion(handle);
88%%
89%% See also
90% COM_GetDefaultNXT
91%%
92%% Signature
93%%
94% * *Author:* Alexander Behrens (see AUTHORS)
95% * *Date:* 2008/05/22
96% * *Copyright:* 2007-2008, RWTH Aachen University
97%
98
99##### SOURCE END #####
100-->
101   </body>
102</html>
Note: See TracBrowser for help on using the browser.