<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.robotc.net/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Motors_and_Servos&amp;feed=atom&amp;action=history</id>
		<title>ARDUINO 328 Functions Motors and Servos - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Motors_and_Servos&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Motors_and_Servos&amp;action=history"/>
		<updated>2013-05-18T18:33:40Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Motors_and_Servos&amp;diff=3319&amp;oldid=prev</id>
		<title>Tfriez at 21:12, 11 May 2012</title>
		<link rel="alternate" type="text/html" href="http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Motors_and_Servos&amp;diff=3319&amp;oldid=prev"/>
				<updated>2012-05-11T21:12:48Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:12, 11 May 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''''Hardware Timing PWM (H-Bridge Friendly) Ports''' - Pin 4, 5, 6, and 11.''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''''Hardware Timing PWM (H-Bridge Friendly) Ports''' - Pin 4, 5, 6, and 11.''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ArduinoMegaMotorsSensorsSetup&lt;/del&gt;.png]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;UnoMotors&lt;/ins&gt;.png]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{| style=&amp;quot;font-family:Verdana, Geneva, sans-serif; color:black; background-color:#FFFFFF; text-align:left; font-size:100%;&amp;quot; width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;5%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;wikiText&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{| style=&amp;quot;font-family:Verdana, Geneva, sans-serif; color:black; background-color:#FFFFFF; text-align:left; font-size:100%;&amp;quot; width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;5%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;wikiText&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tfriez</name></author>	</entry>

	<entry>
		<id>http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Motors_and_Servos&amp;diff=3315&amp;oldid=prev</id>
		<title>Tfriez at 21:11, 11 May 2012</title>
		<link rel="alternate" type="text/html" href="http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Motors_and_Servos&amp;diff=3315&amp;oldid=prev"/>
				<updated>2012-05-11T21:11:21Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:11, 11 May 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Arduino MEGA has 12 &lt;/del&gt;ports available for PWM generation. These ports can be used control motors and servos to extend the capabilities of your Arduino system. Users can use the &amp;quot;Motors and Sensor Setup&amp;quot; utility (found under the Robot menu) to configure their ports for the various types of motors:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;328P-Based Arduinos have 6 &lt;/ins&gt;ports available for PWM generation. These ports can be used control motors and servos to extend the capabilities of your Arduino system. Users can use the &amp;quot;Motors and Sensor Setup&amp;quot; utility (found under the Robot menu) to configure their ports for the various types of motors:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''''Hardware Timing Servo Ports''' - Pin &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;2, 3, 5, 6, 7, 8, 11, 12 &lt;/del&gt;and &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;13&lt;/del&gt;.''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''''Hardware Timing Servo Ports''' - Pin &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;9 &lt;/ins&gt;and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;10&lt;/ins&gt;.''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''''Hardware Timing PWM (H-Bridge Friendly) Ports''' - Pin 4, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;9 &lt;/del&gt;and &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;10&lt;/del&gt;.''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''''Hardware Timing PWM (H-Bridge Friendly) Ports''' - Pin 4, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;5, 6, &lt;/ins&gt;and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;11&lt;/ins&gt;.''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:ArduinoMegaMotorsSensorsSetup.png]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:ArduinoMegaMotorsSensorsSetup.png]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tfriez</name></author>	</entry>

	<entry>
		<id>http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Motors_and_Servos&amp;diff=3284&amp;oldid=prev</id>
		<title>Bfeher at 20:51, 11 May 2012</title>
		<link rel="alternate" type="text/html" href="http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Motors_and_Servos&amp;diff=3284&amp;oldid=prev"/>
				<updated>2012-05-11T20:51:18Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 20:51, 11 May 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{DISPLAYTITLE:328 Motor and Servo Functions}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{DISPLAYTITLE:328 Motor and Servo Functions}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;yambe:breadcrumb self=&amp;quot;328 Motor and Servo &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Functions&lt;/del&gt;&amp;quot;&amp;gt;ARDUINO_328_Functions_and_Variables|Functions and Variables&amp;lt;/yambe:breadcrumb&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;yambe:breadcrumb self=&amp;quot;328 Motor and Servo&amp;quot;&amp;gt;ARDUINO_328_Functions_and_Variables|Functions and Variables&amp;lt;/yambe:breadcrumb&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bfeher</name></author>	</entry>

	<entry>
		<id>http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Motors_and_Servos&amp;diff=3269&amp;oldid=prev</id>
		<title>Bfeher at 20:43, 11 May 2012</title>
		<link rel="alternate" type="text/html" href="http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Motors_and_Servos&amp;diff=3269&amp;oldid=prev"/>
				<updated>2012-05-11T20:43:54Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Motors_and_Servos&amp;amp;diff=3269&amp;amp;oldid=2987&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Bfeher</name></author>	</entry>

	<entry>
		<id>http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Motors_and_Servos&amp;diff=2987&amp;oldid=prev</id>
		<title>Tfriez: moved ARDUINO Functions Motors and Servos to ARDUINO 328 Functions Motors and Servos</title>
		<link rel="alternate" type="text/html" href="http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Motors_and_Servos&amp;diff=2987&amp;oldid=prev"/>
				<updated>2012-05-09T21:02:22Z</updated>
		
		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/wiki/ARDUINO_Functions_Motors_and_Servos&quot; class=&quot;mw-redirect&quot; title=&quot;ARDUINO Functions Motors and Servos&quot;&gt;ARDUINO Functions Motors and Servos&lt;/a&gt; to &lt;a href=&quot;/wiki/ARDUINO_328_Functions_Motors_and_Servos&quot; title=&quot;ARDUINO 328 Functions Motors and Servos&quot;&gt;ARDUINO 328 Functions Motors and Servos&lt;/a&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:02, 9 May 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Tfriez</name></author>	</entry>

	<entry>
		<id>http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Motors_and_Servos&amp;diff=2095&amp;oldid=prev</id>
		<title>Bfeher: Created page with &quot;&lt;yambe:breadcrumb self=&quot;Motors and Sensors&quot;&gt;ARDUINO_Functions_and_Variables|Functions and Variables&lt;/yambe:breadcrumb&gt; &lt;br /&gt;  {| |- |''For more examples and explanations, hea...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Motors_and_Servos&amp;diff=2095&amp;oldid=prev"/>
				<updated>2012-05-01T17:27:48Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;yambe:breadcrumb self=&amp;quot;Motors and Sensors&amp;quot;&amp;gt;ARDUINO_Functions_and_Variables|Functions and Variables&amp;lt;/yambe:breadcrumb&amp;gt; &amp;lt;br /&amp;gt;  {| |- |&amp;#039;&amp;#039;For more examples and explanations, hea...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;yambe:breadcrumb self=&amp;quot;Motors and Sensors&amp;quot;&amp;gt;ARDUINO_Functions_and_Variables|Functions and Variables&amp;lt;/yambe:breadcrumb&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|''For more examples and explanations, head over to [[VEX2_Motors_and_Servos_Overview|Motors and Servos Overview]]!''&lt;br /&gt;
|-&lt;br /&gt;
|Up to 8 motors and/or servos can be connected to the VEX controller. Motor speeds range from -127 (full reverse) through zero (stopped) up to +127 (full forward). There is a small deadband in the motors from about +15 to -15&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{tl|1|1}}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== bMotorReflected ==&lt;br /&gt;
{| style=&amp;quot;color:black;&amp;quot; width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;5%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| class=&amp;quot;variableType&amp;quot;| &amp;lt;span class=&amp;quot;bigKeywordBI&amp;quot;&amp;gt;bool &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigKeywordB&amp;quot;&amp;gt;bMotorReflected&amp;lt;/span&amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;font-family:Verdana, Geneva, sans-serif; color:black; background-color:#FFFFFF; text-align:left; font-size:100%;&amp;quot;|([[Data_Types#dataType_bool|bool]]) Boolean array with one entry for each motor. Indicates that the direction of a motor should be reflected 180 degrees. Useful when mechanical design results in a logical &amp;quot;reversed&amp;quot; condition of a motor. &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
  {|&lt;br /&gt;
  |-&lt;br /&gt;
  |&amp;lt;syntaxhighlight lang=&amp;quot;robotc&amp;quot;&amp;gt;&lt;br /&gt;
bMotorReflected[port1] = true;   // motor 1 WILL be reflected 180 degrees&lt;br /&gt;
bMotorReflected[port1] = false;  // motor 1 will NOT be reflected 180 degrees&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
  |-&lt;br /&gt;
  |}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== getEncoderForMotor ==&lt;br /&gt;
{| style=&amp;quot;color:black;&amp;quot; width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;5%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| class=&amp;quot;functionType&amp;quot;| &amp;lt;span class=&amp;quot;bigKeywordBI&amp;quot;&amp;gt;tSensors &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigKeywordB&amp;quot;&amp;gt;getEncoderForMotor&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodePunc&amp;quot;&amp;gt;(&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodeBasic&amp;quot;&amp;gt;tMotor motorIndex&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodePunc&amp;quot;&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;font-family:Verdana, Geneva, sans-serif; color:black; background-color:#FFFFFF; text-align:left; font-size:100%;&amp;quot;|([[Data_Types#dataType_tSensors|tSensors]])  Returns the sensor port of the encoder paired to motor port, &amp;lt;span class=&amp;quot;codeBasic&amp;quot;&amp;gt;motorIndex&amp;lt;/span&amp;gt;.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;parameterTable&amp;quot; cellpadding=&amp;quot;5%&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
  ! width=&amp;quot;20%&amp;quot; style=&amp;quot;border-style: solid; border-width: 0px 0px 1px 0px&amp;quot;|Parameter&lt;br /&gt;
  ! width=&amp;quot;60%&amp;quot; style=&amp;quot;border-style: solid; border-width: 0px 0px 1px 0px&amp;quot;|Explanation&lt;br /&gt;
  ! width=&amp;quot;20%&amp;quot; style=&amp;quot;border-style: solid; border-width: 0px 0px 1px 0px&amp;quot;|Data Type&lt;br /&gt;
  |-&lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 1px 0px 0px 0px&amp;quot;|''motorIndex'' &lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 1px 0px 0px 0px&amp;quot;|A motor port or name&lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 1px 0px 0px 0px&amp;quot;|[[Data_Types#dataType_tMotor|tMotor]]&lt;br /&gt;
  |-&lt;br /&gt;
  |}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  {|&lt;br /&gt;
  |-&lt;br /&gt;
  |&amp;lt;syntaxhighlight lang=&amp;quot;robotc&amp;quot;&amp;gt;&lt;br /&gt;
int valueOfEncoder;                                       // set 'valueOfEncoder' to the value...&lt;br /&gt;
valueOfEncoder = SensorValue(getEncoderForMotor(port1));  // ...returned by the encoder paired to port1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
  |-&lt;br /&gt;
  |}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== mapEncoderToMotor ==&lt;br /&gt;
{| style=&amp;quot;color:black;&amp;quot; width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;5%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| class=&amp;quot;functionType&amp;quot;| &amp;lt;span class=&amp;quot;bigKeywordBI&amp;quot;&amp;gt;void &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigKeywordB&amp;quot;&amp;gt;mapEncoderToMotor&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodePunc&amp;quot;&amp;gt;(&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodeBasic&amp;quot;&amp;gt;tMotor motorPort&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodePunc&amp;quot;&amp;gt;, &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodeBasic&amp;quot;&amp;gt;tSensors I2CPort&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodePunc&amp;quot;&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;font-family:Verdana, Geneva, sans-serif; color:black; background-color:#FFFFFF; text-align:left; font-size:100%;&amp;quot;|([[Data_Types#dataType_void|void]])  Map an I2C sensor port to the motor it belongs to (when using VEX Integrated Encoder Modules).&amp;lt;br /&amp;gt;&lt;br /&gt;
''This is taken care of in the Motors and Sensors Setup window.''&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;parameterTable&amp;quot; cellpadding=&amp;quot;5%&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
  ! width=&amp;quot;20%&amp;quot; style=&amp;quot;border-style: solid; border-width: 0px 0px 1px 0px&amp;quot;|Parameter&lt;br /&gt;
  ! width=&amp;quot;60%&amp;quot; style=&amp;quot;border-style: solid; border-width: 0px 0px 1px 0px&amp;quot;|Explanation&lt;br /&gt;
  ! width=&amp;quot;20%&amp;quot; style=&amp;quot;border-style: solid; border-width: 0px 0px 1px 0px&amp;quot;|Data Type&lt;br /&gt;
  |-&lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 1px 0px 1px 0px&amp;quot;|''motorPort'' &lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 1px 0px 1px 0px&amp;quot;|A motor port or name&lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 1px 0px 1px 0px&amp;quot;|[[Data_Types#dataType_tMotor|tMotor]]&lt;br /&gt;
  |-&lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 0px 0px 0px 0px&amp;quot;|''I2CPort'' &lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 0px 0px 0px 0px&amp;quot;|An I2C sensor port or name&lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 0px 0px 0px 0px&amp;quot;|[[Data_Types#dataType_tSensors|tSensors]]&lt;br /&gt;
  |-&lt;br /&gt;
  |}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  {|&lt;br /&gt;
  |-&lt;br /&gt;
  |&amp;lt;syntaxhighlight lang=&amp;quot;robotc&amp;quot;&amp;gt;&lt;br /&gt;
mapEncoderToMotor(port1, I2C_1);  // map the encoder in I2C port 'I2C_1' to motor in port 'port1'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
  |-&lt;br /&gt;
  |}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== motor ==&lt;br /&gt;
{| style=&amp;quot;color:black;&amp;quot; width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;5%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| class=&amp;quot;variableType&amp;quot;| &amp;lt;span class=&amp;quot;bigKeywordBI&amp;quot;&amp;gt;int &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigKeywordB&amp;quot;&amp;gt;motor&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodePunc&amp;quot;&amp;gt;[&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodeBasic&amp;quot;&amp;gt;tMotor motor&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodePunc&amp;quot;&amp;gt;]&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;font-family:Verdana, Geneva, sans-serif; color:black; background-color:#FFFFFF; text-align:left; font-size:100%;&amp;quot;|([[Data_Types#dataType_int|int]]) An array variable with one element for each of the possible motors. This command is used to set the speed (-127 to +127) for a motor. Negative values are reverse; positive forward. Zero is stopped. To drive the motor on port1 at 50% of full power you use the statement motor[port1] = 63; &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
  {| class=&amp;quot;parameterTable&amp;quot; cellpadding=&amp;quot;5%&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
  ! width=&amp;quot;20%&amp;quot; style=&amp;quot;border-style: solid; border-width: 0px 0px 1px 0px&amp;quot;|Parameter&lt;br /&gt;
  ! width=&amp;quot;60%&amp;quot; style=&amp;quot;border-style: solid; border-width: 0px 0px 1px 0px&amp;quot;|Explanation&lt;br /&gt;
  ! width=&amp;quot;20%&amp;quot; style=&amp;quot;border-style: solid; border-width: 0px 0px 1px 0px&amp;quot;|Data Type&lt;br /&gt;
  |-&lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 1px 0px 0px 0px&amp;quot;|''motor'' &lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 1px 0px 0px 0px&amp;quot;|A motor port or name&lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 1px 0px 0px 0px&amp;quot;|[[Data_Types#dataType_tMotor|tMotor]]&lt;br /&gt;
  |-&lt;br /&gt;
  |}&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
  {|&lt;br /&gt;
  |-&lt;br /&gt;
  |&amp;lt;syntaxhighlight lang=&amp;quot;robotc&amp;quot;&amp;gt;&lt;br /&gt;
motor[port1] = 127;   // motor 1 is given a power level of 127 (forward)&lt;br /&gt;
motor[port1] = -127;  // motor 1 is given a power level of -127 (reverse)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
  |-&lt;br /&gt;
  |}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== motorType ==&lt;br /&gt;
{| style=&amp;quot;color:black;&amp;quot; width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;5%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| class=&amp;quot;variableType&amp;quot;| &amp;lt;span class=&amp;quot;bigKeywordBI&amp;quot;&amp;gt;word &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigKeywordB&amp;quot;&amp;gt;motorType&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodePunc&amp;quot;&amp;gt;[&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodeBasic&amp;quot;&amp;gt;tMotor motor&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodePunc&amp;quot;&amp;gt;]&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;font-family:Verdana, Geneva, sans-serif; color:black; background-color:#FFFFFF; text-align:left; font-size:100%;&amp;quot;|([[Data_Types#dataType_word|word]]) An array variable with one element for each of the possible motors. This command is used to read/write the type of the motor in question.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
  {| class=&amp;quot;parameterTable&amp;quot; cellpadding=&amp;quot;5%&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
  ! width=&amp;quot;20%&amp;quot; style=&amp;quot;border-style: solid; border-width: 0px 0px 1px 0px&amp;quot;|Parameter&lt;br /&gt;
  ! width=&amp;quot;60%&amp;quot; style=&amp;quot;border-style: solid; border-width: 0px 0px 1px 0px&amp;quot;|Explanation&lt;br /&gt;
  ! width=&amp;quot;20%&amp;quot; style=&amp;quot;border-style: solid; border-width: 0px 0px 1px 0px&amp;quot;|Data Type&lt;br /&gt;
  |-&lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 1px 0px 0px 0px&amp;quot;|''motor'' &lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 1px 0px 0px 0px&amp;quot;|A motor port or name&lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 1px 0px 0px 0px&amp;quot;|[[Data_Types#dataType_tMotor|tMotor]]&lt;br /&gt;
  |-&lt;br /&gt;
  |}&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
  {|&lt;br /&gt;
  |-&lt;br /&gt;
  |&amp;lt;syntaxhighlight lang=&amp;quot;robotc&amp;quot;&amp;gt;&lt;br /&gt;
motorType[port1] = tmotorVex393HighSpeed;  // set motor in 'port1' to type 'tmotorVex393HighSpeed'&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
  |-&lt;br /&gt;
  |}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bfeher</name></author>	</entry>

	</feed>