OSDN Git Service

lejos_NXJ_win32_0_5_0beta.zip
[nxt-jsp/lejos_nxj.git] / nxtOSEK / lejos_nxj / docs / apidocs / lejos / nxt / Tachometer.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.5.0_09) on Tue Jan 08 20:46:01 GMT 2008 -->
6 <TITLE>
7 Tachometer (leJOS NXT API documentation)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="lejos.nxt.Tachometer interface">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17     parent.document.title="Tachometer (leJOS NXT API documentation)";
18 }
19 </SCRIPT>
20 <NOSCRIPT>
21 </NOSCRIPT>
22
23 </HEAD>
24
25 <BODY BGCOLOR="white" onload="windowTitle();">
26
27
28 <!-- ========= START OF TOP NAVBAR ======= -->
29 <A NAME="navbar_top"><!-- --></A>
30 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
31 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
32 <TR>
33 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
34 <A NAME="navbar_top_firstrow"><!-- --></A>
35 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
36   <TR ALIGN="center" VALIGN="top">
37   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
38   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
39   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
40   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
41   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
42   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
43   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
44   </TR>
45 </TABLE>
46 </TD>
47 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
48 </EM>
49 </TD>
50 </TR>
51
52 <TR>
53 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
54 &nbsp;<A HREF="../../lejos/nxt/SoundSensor.html" title="class in lejos.nxt"><B>PREV CLASS</B></A>&nbsp;
55 &nbsp;<A HREF="../../lejos/nxt/TachoMotorPort.html" title="interface in lejos.nxt"><B>NEXT CLASS</B></A></FONT></TD>
56 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57   <A HREF="../../index.html?lejos/nxt/Tachometer.html" target="_top"><B>FRAMES</B></A>  &nbsp;
58 &nbsp;<A HREF="Tachometer.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
59 &nbsp;<SCRIPT type="text/javascript">
60   <!--
61   if(window==top) {
62     document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
63   }
64   //-->
65 </SCRIPT>
66 <NOSCRIPT>
67   <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
68 </NOSCRIPT>
69
70
71 </FONT></TD>
72 </TR>
73 <TR>
74 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
76 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
78 </TR>
79 </TABLE>
80 <A NAME="skip-navbar_top"></A>
81 <!-- ========= END OF TOP NAVBAR ========= -->
82
83 <HR>
84 <!-- ======== START OF CLASS DATA ======== -->
85 <H2>
86 <FONT SIZE="-1">
87 lejos.nxt</FONT>
88 <BR>
89 Interface Tachometer</H2>
90 <DL>
91 <DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../lejos/nxt/TachoMotorPort.html" title="interface in lejos.nxt">TachoMotorPort</A></DD>
92 </DL>
93 <DL>
94 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../lejos/nxt/MotorPort.html" title="class in lejos.nxt">MotorPort</A>, <A HREF="../../lejos/nxt/remote/RemoteMotorPort.html" title="class in lejos.nxt.remote">RemoteMotorPort</A></DD>
95 </DL>
96 <HR>
97 <DL>
98 <DT><PRE>public interface <B>Tachometer</B></DL>
99 </PRE>
100
101 <P>
102 Abstraction for the tachometer built into NXT motors.
103 <P>
104
105 <P>
106 <DL>
107 <DT><B>Author:</B></DT>
108   <DD>Lawrie Griffiths</DD>
109 </DL>
110 <HR>
111
112 <P>
113
114 <!-- ========== METHOD SUMMARY =========== -->
115
116 <A NAME="method_summary"><!-- --></A>
117 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
118 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
119 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
120 <B>Method Summary</B></FONT></TH>
121 </TR>
122 <TR BGCOLOR="white" CLASS="TableRowColor">
123 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
124 <CODE>&nbsp;int</CODE></FONT></TD>
125 <TD><CODE><B><A HREF="../../lejos/nxt/Tachometer.html#getTachoCount()">getTachoCount</A></B>()</CODE>
126
127 <BR>
128 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
129 </TR>
130 <TR BGCOLOR="white" CLASS="TableRowColor">
131 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
132 <CODE>&nbsp;void</CODE></FONT></TD>
133 <TD><CODE><B><A HREF="../../lejos/nxt/Tachometer.html#resetTachoCount()">resetTachoCount</A></B>()</CODE>
134
135 <BR>
136 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
137 </TR>
138 </TABLE>
139 &nbsp;
140 <P>
141
142 <!-- ============ METHOD DETAIL ========== -->
143
144 <A NAME="method_detail"><!-- --></A>
145 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
146 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
147 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
148 <B>Method Detail</B></FONT></TH>
149 </TR>
150 </TABLE>
151
152 <A NAME="getTachoCount()"><!-- --></A><H3>
153 getTachoCount</H3>
154 <PRE>
155 int <B>getTachoCount</B>()</PRE>
156 <DL>
157 <DD><DL>
158 </DL>
159 </DD>
160 </DL>
161 <HR>
162
163 <A NAME="resetTachoCount()"><!-- --></A><H3>
164 resetTachoCount</H3>
165 <PRE>
166 void <B>resetTachoCount</B>()</PRE>
167 <DL>
168 <DD><DL>
169 </DL>
170 </DD>
171 </DL>
172 <!-- ========= END OF CLASS DATA ========= -->
173 <HR>
174
175
176 <!-- ======= START OF BOTTOM NAVBAR ====== -->
177 <A NAME="navbar_bottom"><!-- --></A>
178 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
179 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
180 <TR>
181 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
182 <A NAME="navbar_bottom_firstrow"><!-- --></A>
183 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
184   <TR ALIGN="center" VALIGN="top">
185   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
186   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
187   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
188   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
189   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
190   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
191   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
192   </TR>
193 </TABLE>
194 </TD>
195 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
196 </EM>
197 </TD>
198 </TR>
199
200 <TR>
201 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
202 &nbsp;<A HREF="../../lejos/nxt/SoundSensor.html" title="class in lejos.nxt"><B>PREV CLASS</B></A>&nbsp;
203 &nbsp;<A HREF="../../lejos/nxt/TachoMotorPort.html" title="interface in lejos.nxt"><B>NEXT CLASS</B></A></FONT></TD>
204 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
205   <A HREF="../../index.html?lejos/nxt/Tachometer.html" target="_top"><B>FRAMES</B></A>  &nbsp;
206 &nbsp;<A HREF="Tachometer.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
207 &nbsp;<SCRIPT type="text/javascript">
208   <!--
209   if(window==top) {
210     document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
211   }
212   //-->
213 </SCRIPT>
214 <NOSCRIPT>
215   <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
216 </NOSCRIPT>
217
218
219 </FONT></TD>
220 </TR>
221 <TR>
222 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
223   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
224 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
225 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
226 </TR>
227 </TABLE>
228 <A NAME="skip-navbar_bottom"></A>
229 <!-- ======== END OF BOTTOM NAVBAR ======= -->
230
231 <HR>
232
233 </BODY>
234 </HTML>