Modifications

Sauter à la navigation Sauter à la recherche
Ligne 34 : Ligne 34 :  
== Installer le support ATTiny sur Arduino 1.0 ==
 
== Installer le support ATTiny sur Arduino 1.0 ==
 
Bien que largement dépassé, vous trouverez [http://highlowtech.org/?p=1695 les instructions souhaitées dans cet article] (source: http://highlowtech.org).
 
Bien que largement dépassé, vous trouverez [http://highlowtech.org/?p=1695 les instructions souhaitées dans cet article] (source: http://highlowtech.org).
 +
 +
== Programmer l'ATTiny ==
 +
Next, we can use the ISP to upload a program to the ATtiny:
 +
 +
* Open the Blink sketch from the examples menu.
 +
* Change the pin numbers from 13 to 0.
 +
* Select “ATtiny” from the Tools > Board menu and the particular ATtiny you’re using from the Tools > Processor menu. (In Arduino 1.0.x, these options are combined in just the Tools > Board menu.)
 +
* Select the appropriate item from the Tools > Programmer menu (e.g. “Arduino as ISP” if you’re using an Arduino board as the programmer, USBtinyISP for the USBtinyISP, FabISP, or TinyProgrammer, etc).
 +
* Upload the sketch.
 +
 +
You should see “Done uploading.” in the Arduino software and no error messages. If you then connect an LED between pin 0 and ground, you should see it blink on and off. Note that you may need to disconnect the LED before uploading a new program.
    
{{Arduino-ATTiny-85-TRAILER}}
 
{{Arduino-ATTiny-85-TRAILER}}
29 918

modifications

Menu de navigation