Ligne 3 : |
Ligne 3 : |
| == Get more RAM & Flash! == | | == Get more RAM & Flash! == |
| | | |
− | Before you try to play audio, you'll want to free up some Arduino RAM, so that you don't end up with a nasty stack-overflow. Running out of RAM is hard to debug and frustrating, and likely if you're using a '168
| + | == Avoir plus de RAM et de Flash! == |
| + | Note MCHobby: |
| + | Les plateformes Arduino sont maintenant distribuée avec un ATmega328. |
| | | |
− | [http://www.ladyada.net/library/arduino/hacks.html Follow these instructions] on how to get more RAM by reducing the input Serial library buffer. You dont need to do this if you're using an [http://www.ladyada.net/library/arduino/upgrade.html ATmega328]
| + | Cette section n'est vraiment pertinente que si vous ne possédez pas d'ATmega328. |
| | | |
− | Note that the library is pretty big (about 10K) so if you want to do a lot more, I suggest [http://www.ladyada.net/library/arduino/upgrade.html upgrading to an ATmega328]. The shield was designed with the expectation that this upgrade would be available.
| + | Avant d'essayer de jouer de l'audio, vous aurez besoin de faire un peu de place |
| + | |
| + | la mémoire RAM d'Arduino, cela évitera que cela se termine en vilain |
| + | |
| + | dépassement de pile (stack-overflow). Manquer de mémoire RAM est difficile à déboguer et frustrant, d'autant plus si vous disposez d'un ATMega168 |
| + | |
| + | [http://www.ladyada.net/library/arduino/hacks.html Suivez ces instructions] (''anglais'') pour savoir comment avoir plus |
| + | |
| + | de RAM en réduisant la taille de la mémoire tampon de la librairie série (Serial library). |
| + | |
| + | Vous n'aurez pas besoin de faire cela si vous avez un [http://www.ladyada.net/library/arduino/upgrade.html ATmega328]. |
| + | |
| + | Notez que la librairie est vraiment grosse (approximativement 10K). Si vous voulez faire beaucoup plus avec Arduino, il est vivement conseillé de faire un Upgrade vers un [http://www.ladyada.net/library/arduino/upgrade.html ATmega328]. Ce shield a été développé en prévoyant la disponibilité d'un ATmega328. |
| | | |
| == A tour of dap_hc.pde == | | == A tour of dap_hc.pde == |