<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki.mchobby.be/index.php?action=history&amp;feed=atom&amp;title=RB-ARD-ROBOT-Func-motorsWrite</id>
	<title>RB-ARD-ROBOT-Func-motorsWrite - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mchobby.be/index.php?action=history&amp;feed=atom&amp;title=RB-ARD-ROBOT-Func-motorsWrite"/>
	<link rel="alternate" type="text/html" href="https://wiki.mchobby.be/index.php?title=RB-ARD-ROBOT-Func-motorsWrite&amp;action=history"/>
	<updated>2026-08-31T20:01:44Z</updated>
	<subtitle>Historique des révisions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.mchobby.be/index.php?title=RB-ARD-ROBOT-Func-motorsWrite&amp;diff=7386&amp;oldid=prev</id>
		<title>Admin le 17 septembre 2013 à 07:19</title>
		<link rel="alternate" type="text/html" href="https://wiki.mchobby.be/index.php?title=RB-ARD-ROBOT-Func-motorsWrite&amp;diff=7386&amp;oldid=prev"/>
		<updated>2013-09-17T07:19:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 17 septembre 2013 à 07:19&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot; &gt;Ligne 10 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 10 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Syntaxe ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Syntaxe ==&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-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Robot.motorsWrite(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;speedLeft&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;speedRight&lt;/del&gt;)   &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Robot.motorsWrite(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;vitesseGauche&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;vitesseDroite&lt;/ins&gt;)   &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-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&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-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Paramètres ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Paramètres ==&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-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;speedLeft&lt;/del&gt;: &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the speed of left wheel&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''vitesseGauche'''&lt;/ins&gt;: &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;vitesse de la roue de gauche&lt;/ins&gt;&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;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;speedRight&lt;/del&gt;: &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the speed of right wheel &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''vitesseDroite'''&lt;/ins&gt;: &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;vitesse de la roue de droite&lt;/ins&gt;&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-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&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-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Résultat ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Résultat ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.mchobby.be/index.php?title=RB-ARD-ROBOT-Func-motorsWrite&amp;diff=7385&amp;oldid=prev</id>
		<title>Admin : Page créée avec « {{Arduino-Robot-NAV}}  &lt;h4&gt;motorsWrite()&lt;/h4&gt;  == Description == Classe RobotControl, librairie d'[[Arduino Robot-Librairie|Ar... »</title>
		<link rel="alternate" type="text/html" href="https://wiki.mchobby.be/index.php?title=RB-ARD-ROBOT-Func-motorsWrite&amp;diff=7385&amp;oldid=prev"/>
		<updated>2013-09-17T07:18:17Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « {{Arduino-Robot-NAV}}  &amp;lt;h4&amp;gt;motorsWrite()&amp;lt;/h4&amp;gt;  == Description == Classe &lt;a href=&quot;/index.php?title=Arduino_Robot-Librairie#Classe_RobotControl&quot; title=&quot;Arduino Robot-Librairie&quot;&gt;RobotControl&lt;/a&gt;, librairie d&amp;#039;[[Arduino Robot-Librairie|Ar... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Arduino-Robot-NAV}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;motorsWrite()&amp;lt;/h4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Classe [[Arduino Robot-Librairie#Classe_RobotControl|RobotControl]], librairie d'[[Arduino Robot-Librairie|Arduino Robot]].&lt;br /&gt;
&lt;br /&gt;
Contrôle la vitesse et la direction des deux moteurs connectés aux roues du robot. motorsWrite() a besoin de deux valeurs situées entre -255 et 255. Si la valeur est supérieure à 0 alors la roue tourne vers l'avant. Si la valeur est inférieure à 0 alors le moteur tourne dans l'autre sens.  &lt;br /&gt;
&lt;br /&gt;
== Syntaxe ==&lt;br /&gt;
&lt;br /&gt;
Robot.motorsWrite(speedLeft, speedRight)  &lt;br /&gt;
&lt;br /&gt;
== Paramètres ==&lt;br /&gt;
&lt;br /&gt;
* speedLeft: the speed of left wheel&lt;br /&gt;
* speedRight: the speed of right wheel &lt;br /&gt;
&lt;br /&gt;
== Résultat ==&lt;br /&gt;
&lt;br /&gt;
aucun&lt;br /&gt;
&lt;br /&gt;
== Exemple ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;#include &amp;lt;ArduinoRobot.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
void setup(){&lt;br /&gt;
  Robot.begin();&lt;br /&gt;
}&lt;br /&gt;
void loop(){&lt;br /&gt;
  Robot.motorsWrite(255,255); //faire avance le robot vers l'avant, à pleine vitesse&lt;br /&gt;
  delay(1000);&lt;br /&gt;
  Robot.motorsWrite(0,0); //Faire arrêter le robot&lt;br /&gt;
  delay(1000);&lt;br /&gt;
  Robot.motorsWrite(255,-255);//Faire tourner le robot sur la droite, à pleine vitesse&lt;br /&gt;
  delay(1000);&lt;br /&gt;
  Robot.motorsWrite(0,0); //Faire arrêter le robot&lt;br /&gt;
  delay(1000);&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Voir aussi ==&lt;br /&gt;
* [[RB-ARD-ROBOT-Func-motorsStop|motorsStop()]]&lt;br /&gt;
* [[RB-ARD-ROBOT-Func-turn|turn()]]&lt;br /&gt;
* [[RB-ARD-ROBOT-Func-pointTo|pointTo()]]&lt;br /&gt;
&lt;br /&gt;
{{Arduino-Robot-TRAILER}}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>