<?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-pauseMode</id>
	<title>RB-ARD-ROBOT-Func-pauseMode - 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-pauseMode"/>
	<link rel="alternate" type="text/html" href="https://wiki.mchobby.be/index.php?title=RB-ARD-ROBOT-Func-pauseMode&amp;action=history"/>
	<updated>2026-09-03T15:35:29Z</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-pauseMode&amp;diff=7361&amp;oldid=prev</id>
		<title>Admin : Page créée avec « {{Arduino-Robot-NAV}}  &lt;h4&gt;pauseMode()&lt;/h4&gt;  == Description == Classe RobotControl, librairie d'[[Arduino Robot-Librairie|Ardu... »</title>
		<link rel="alternate" type="text/html" href="https://wiki.mchobby.be/index.php?title=RB-ARD-ROBOT-Func-pauseMode&amp;diff=7361&amp;oldid=prev"/>
		<updated>2013-09-16T05:57:27Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « {{Arduino-Robot-NAV}}  &amp;lt;h4&amp;gt;pauseMode()&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|Ardu... »&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;pauseMode()&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;
Pause or resume the mode-specific action for the bottom board.&lt;br /&gt;
&lt;br /&gt;
For line-following mode, the robot will stop following the line, but still receiving commands. &lt;br /&gt;
&lt;br /&gt;
== Syntaxe ==&lt;br /&gt;
&lt;br /&gt;
Robot.pauseMode(onOff) &lt;br /&gt;
&lt;br /&gt;
== Paramètres ==&lt;br /&gt;
&lt;br /&gt;
'''onOff:''' booléen (marche/arrêt) . ''true'' met le mode en pause, ''false'' reprend/réactive le mode it. &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;
long timer;&lt;br /&gt;
&lt;br /&gt;
void setup(){&lt;br /&gt;
  Robot.begin();&lt;br /&gt;
  Robot.beginLCD();&lt;br /&gt;
  delay(3000);&lt;br /&gt;
&lt;br /&gt;
  Robot.setMode(MODE_LINE_FOLLOW);&lt;br /&gt;
  timer=millis();&lt;br /&gt;
  while(!Robot.isActionDone()){&lt;br /&gt;
    //Faire une pause du &amp;quot;suivit de ligne&amp;quot; pendant 3 secondes toutes les 5 secondes&lt;br /&gt;
    if(millis()-timer&amp;gt;=5000){&lt;br /&gt;
      Robot.pauseMode(true);&lt;br /&gt;
      delay(3000);&lt;br /&gt;
      Robot.pauseMode(false);&lt;br /&gt;
      timer=millis();&lt;br /&gt;
    }&lt;br /&gt;
    Robot.debugPrint(millis());&lt;br /&gt;
  }&lt;br /&gt;
  Robot.text(&amp;quot;Fait!&amp;quot;,0,10,true);&lt;br /&gt;
  while(true);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
void loop(){&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Voir aussi ==&lt;br /&gt;
* [[RB-ARD-ROBOT-Func-setMode|setMode()]]&lt;br /&gt;
* [[RB-ARD-ROBOT-Func-isActionDone|isActionDone()]]&lt;br /&gt;
&lt;br /&gt;
{{Arduino-Robot-TRAILER}}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>