Modifications

Sauter à la navigation Sauter à la recherche
Ligne 41 : Ligne 41 :  
<syntaxhighlight lang="C">void emittersOn()</syntaxhighlight>
 
<syntaxhighlight lang="C">void emittersOn()</syntaxhighlight>
   −
Turn the IR LEDs on. This is mainly for use by the read method, and calling these functions before or after the reading the sensors will have no effect on the readings, but you may wish to use these for testing purposes. This method will only do something if the emitter pin specified in the constructor is not <font color="red">QTR_NO_EMITTER_PIN</font>.
+
Allume les LEDs IR (InfraRouge). Principalement utilisée par la méthode {{fname|read()}} et appeler cette fonction avant ou après la lecture du senseur n'a aucun effet sur la lecture. Vous devriez utiliser cette fonction uniquement pour effectuer des tests.  
 +
 
 +
Cette fonction en fait quelque-chose que si la broche émetteur IR (''emitter'') à été spécifiée dans le constructeur (donc une valeur différente de <font color="red">QTR_NO_EMITTER_PIN</font>).
    
=== emittersOff() ===
 
=== emittersOff() ===
29 917

modifications

Menu de navigation