Modifications

Sauter à la navigation Sauter à la recherche
Ligne 32 : Ligne 32 :  
# Connect the device to your computer via USB.
 
# Connect the device to your computer via USB.
 
# In the “Tools” menu, open the “Board” sub-menu and check to see if the “Pololu A-Star 32U4 (bootloader port)” entry is visible. If this entry is visible, you can skip to step 6.
 
# In the “Tools” menu, open the “Board” sub-menu and check to see if the “Pololu A-Star 32U4 (bootloader port)” entry is visible. If this entry is visible, you can skip to step 6.
# If you are using a 1.0.x version of the Arduino IDE, open the file ''[sketchbook location]/hardware/pololu/boards.txt'' using a text editor. If you are using a 1.5.x version of the Arduino IDE, open the file ''[sketchbook location]/hardware/pololu/avr/boards.txt'' using a text editor. You can see the sketchbook location in the Arduino IDE preferences dialog. The file you are looking for is part of the A-Star add-on.
+
# If you are using a 1.0.x version of the Arduino IDE, open the file '''[sketchbook location]/hardware/pololu/boards.txt''' using a text editor. If you are using a 1.5.x version of the Arduino IDE, open the file '''[sketchbook location]/hardware/pololu/avr/boards.txt''' using a text editor. You can see the sketchbook location in the Arduino IDE preferences dialog. The file you are looking for is part of the A-Star add-on.
 
# In the boards.txt file that you opened, find the lines at the bottom of the file that start with {{fname|#a-star32U4bp}}. Uncomment each of those lines by deleting the “#” character, and then save the file.
 
# In the boards.txt file that you opened, find the lines at the bottom of the file that start with {{fname|#a-star32U4bp}}. Uncomment each of those lines by deleting the “#” character, and then save the file.
 
# Close the Arduino IDE and restart it.
 
# Close the Arduino IDE and restart it.
Ligne 44 : Ligne 44 :  
The Arduino IDE will compile your sketch and then upload it to the selected serial port.
 
The Arduino IDE will compile your sketch and then upload it to the selected serial port.
   −
If the compilation of the sketch takes longer than 8 seconds, then this procedure will fail because the bootloader will time out and start trying to run the malfunctioning sketch again. If that happens, try the procedure again using a simpler sketch such as the Blink example that can be found under ''File > Examples > 01.Basics > Blink'' .
+
If the compilation of the sketch takes longer than 8 seconds, then this procedure will fail because the bootloader will time out and start trying to run the malfunctioning sketch again. If that happens, try the procedure again using a simpler sketch such as the Blink example that can be found under '''File > Examples > 01.Basics > Blink''' .
    
After reviving your device, be sure to change the Board setting back to “Pololu A-Star 32U4” and select the right Port.
 
After reviving your device, be sure to change the Board setting back to “Pololu A-Star 32U4” and select the right Port.
    
{{Pololu-Romi-32U4-TRAILER}}
 
{{Pololu-Romi-32U4-TRAILER}}
29 917

modifications

Menu de navigation