Modifications

Sauter à la navigation Sauter à la recherche
Ligne 79 : Ligne 79 :  
If you later decide you want to re-enable those sensors, you can connect across the cut trace with a wire, or you can use a wire to remap the sensor to a different pin. The following example shows how you could re-enable the A2 sensor and remap the A3 sensor to pin A5 instead:
 
If you later decide you want to re-enable those sensors, you can connect across the cut trace with a wire, or you can use a wire to remap the sensor to a different pin. The following example shows how you could re-enable the A2 sensor and remap the A3 sensor to pin A5 instead:
   −
{{POLImage|Pololu-Zumo-Shield-Arduino-ajouter-detecteur-ligne-53.jpg|600px|Remapper le senseur}}
+
{{POLImage|Pololu-Zumo-Shield-Arduino-ajouter-detecteur-ligne-53.jpg|400px|Remapper le senseur}}
    
To configure the ZumoReflectanceSensorArray library to use this remapped configuration, call init with these arguments:
 
To configure the ZumoReflectanceSensorArray library to use this remapped configuration, call init with these arguments:
Ligne 94 : Ligne 94 :  
reflectanceSensors.init(pins, 6, 2000, QTR_NO_EMITTER_PIN);  // 2000 = timeout after 2 ms
 
reflectanceSensors.init(pins, 6, 2000, QTR_NO_EMITTER_PIN);  // 2000 = timeout after 2 ms
 
</syntaxhighlight>
 
</syntaxhighlight>
  −
{{traduction}}
      
{{Pololu-Zumo-Shield-Arduino-TRAILER}}
 
{{Pololu-Zumo-Shield-Arduino-TRAILER}}
29 917

modifications

Menu de navigation