Différences entre versions de « AdaFruit Wave Shield Librairie AFwave »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
(Page créée avec « {{WaveShield-Nav}} == 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. ... »)
(Aucune différence)

Version du 13 mars 2012 à 12:05

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.

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 ATmega328.

Note that the library is pretty big (about 10K) so if you want to do a lot more, I suggest upgrading to an ATmega328. The shield was designed with the expectation that this part would be available.

A tour of the AF_Wave library

This is a description of the AF_Wave library, which is the 'default' library for the Wave shield. However, there is an 'updated' and superior library, WaveHC written by Mr Fat16 in the forums. This library is powerful, works with more cards and card formatting issues, and uses less space. This tutorial is here for those who want to use the classic AF_Wave library but we suggest you also check out WaveHC. Its very similar to AF_Wave so you can probably switch between the two. We have a runthrough of WaveHC over here