− | By default, the ATtiny’s run at 1 MHz. You can configure them to run at 8 MHz instead, which is useful for faster baud rates with the SoftwareSerial library or for faster computation in general. To do so, once you have the microcontroller connected, select “8 MHz (Internal)” from the Tools > Clock menu. (In Arduino 1.0.x, select the appropriate 8 MHz clock option from the main Tools > Board menu.) Warning: make sure you select “internal” not “external” or your microcontroller will stop working (until you connect an external clock to it). Then, run the “Burn Bootloader” command from the Tools menu. This configures the fuse bits of the microcontroller so it runs at 8 MHz. Note that the fuse bits keep their value until you explicitly change them, so you’ll only need to do this step once for each microcontroller. (Note this doesn’t actually burn a bootloader onto the board; you’ll still need to upload new programs using an external programmer.)
| + | Par défaut, l'ATtiny fonctionne à 1 MHz. Vous pouvez le configurer pour qu'il fonctionne à 8 MHz, ce qui est utile pour les débit plus élevé de l bibliothèque SoftwareSerial library (ou rapidité de calcul d'une façon générale). Pour réaliser cela, une fois que vous avez connecté votre microcontrôleur, sélectionnez le point de menu “8 MHz (Internal)” dans le menu "Outils > Horloge" (''Tools > Clock''). |