1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (build 1.5.0_09) on Tue Jan 08 20:46:01 GMT 2008 -->
7 Tachometer (leJOS NXT API documentation)
10 <META NAME="keywords" CONTENT="lejos.nxt.Tachometer interface">
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
14 <SCRIPT type="text/javascript">
15 function windowTitle()
17 parent.document.title="Tachometer (leJOS NXT API documentation)";
25 <BODY BGCOLOR="white" onload="windowTitle();">
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="">
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> </TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
39 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
47 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
53 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
54 <A HREF="../../lejos/nxt/SoundSensor.html" title="class in lejos.nxt"><B>PREV CLASS</B></A>
55 <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>
58 <A HREF="Tachometer.html" target="_top"><B>NO FRAMES</B></A>
59 <SCRIPT type="text/javascript">
62 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
67 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
74 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
76 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
80 <A NAME="skip-navbar_top"></A>
81 <!-- ========= END OF TOP NAVBAR ========= -->
84 <!-- ======== START OF CLASS DATA ======== -->
89 Interface Tachometer</H2>
91 <DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../lejos/nxt/TachoMotorPort.html" title="interface in lejos.nxt">TachoMotorPort</A></DD>
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>
98 <DT><PRE>public interface <B>Tachometer</B></DL>
102 Abstraction for the tachometer built into NXT motors.
107 <DT><B>Author:</B></DT>
108 <DD>Lawrie Griffiths</DD>
114 <!-- ========== METHOD SUMMARY =========== -->
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>
122 <TR BGCOLOR="white" CLASS="TableRowColor">
123 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
124 <CODE> int</CODE></FONT></TD>
125 <TD><CODE><B><A HREF="../../lejos/nxt/Tachometer.html#getTachoCount()">getTachoCount</A></B>()</CODE>
128 </TD>
130 <TR BGCOLOR="white" CLASS="TableRowColor">
131 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
132 <CODE> void</CODE></FONT></TD>
133 <TD><CODE><B><A HREF="../../lejos/nxt/Tachometer.html#resetTachoCount()">resetTachoCount</A></B>()</CODE>
136 </TD>
142 <!-- ============ METHOD DETAIL ========== -->
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>
152 <A NAME="getTachoCount()"><!-- --></A><H3>
155 int <B>getTachoCount</B>()</PRE>
163 <A NAME="resetTachoCount()"><!-- --></A><H3>
166 void <B>resetTachoCount</B>()</PRE>
172 <!-- ========= END OF CLASS DATA ========= -->
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="">
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> </TD>
186 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
187 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
188 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
189 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
190 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
191 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
195 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
201 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
202 <A HREF="../../lejos/nxt/SoundSensor.html" title="class in lejos.nxt"><B>PREV CLASS</B></A>
203 <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>
206 <A HREF="Tachometer.html" target="_top"><B>NO FRAMES</B></A>
207 <SCRIPT type="text/javascript">
210 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
215 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
222 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
223 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
224 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
225 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
228 <A NAME="skip-navbar_bottom"></A>
229 <!-- ======== END OF BOTTOM NAVBAR ======= -->