Hi Adafruit support team,
I soldered all parts to make a wave-shield. I went through "Use it" section and did everything. But the sketch you asked the clients to download and put into the library folder doesn't work.
So after hours of assembling a wave-shield, I stared at its silence last night. Till this morning, I realize that I need a working sketch from you in order to make it run.
Looking forward to hearing from you.
Your enthusiastic Fan
need a correct sketch to run wave-shield
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: need a correct sketch to run wave-shield
What do you mean, it doesn't work? Are you getting compilation errors? Or are you simply getting no sound out of your wave shield?
If it's the latter, please post clear, detailed pictures of both sides of the shield, showing your soldering
If it's the latter, please post clear, detailed pictures of both sides of the shield, showing your soldering
- Franklin97355
- Posts: 23911
- Joined: Mon Apr 21, 2008 2:33 pm
Re: need a correct sketch to run wave-shield
Have you tried the example files that came with the library? Which library did you install?
-
- Posts: 3
- Joined: Thu Oct 03, 2013 12:50 pm
Re: need a correct sketch to run wave-shield
Hi the Adafruit Support Team,
Thanks for the reply. I attached three photos. It's my first solder job. One of the photos shows the wave shield on top of the Arduino Uno.
I ran Arduino>File>Example>wavehr20110919>waveHC>daphc, it can't be downloaded to the Arduino Uno. Because
daphc:7: error: 'SdReader' does not name a type
daphc:8: error: 'FatVolume' does not name a type
daphc:9: error: 'FatReader' does not name a type
daphc:10: error: 'WaveHC' does not name a type
daphc:13: error: 'dir_t' does not name a type
daphc:22: error: variable or field 'play' declared void
daphc:22: error: 'FatReader' was not declared in this scope
daphc:22: error: 'dir' was not declared in this scope
daphc.pde: In function 'void setup()':
daphc:28: error: 'putstring_nl' was not declared in this scope
daphc:30: error: 'putstring' was not declared in this scope
daphc:31: error: 'FreeRam' was not declared in this scope
daphc:34: error: 'card' was not declared in this scope
daphc:39: error: 'card' was not declared in this scope
daphc:44: error: 'vol' was not declared in this scope
daphc:55: error: 'vol' was not declared in this scope
daphc:58: error: 'root' was not declared in this scope
daphc:66: error: 'root' was not declared in this scope
daphc:66: error: 'LS_R' was not declared in this scope
daphc:66: error: 'LS_FLAG_FRAGMENTED' was not declared in this scope
daphc.pde: In function 'void loop()':
daphc:71: error: 'root' was not declared in this scope
daphc:72: error: 'play' was not declared in this scope
daphc.pde: In function 'void error_P(const char*)':
daphc:80: error: 'PgmPrint' was not declared in this scope
daphc:81: error: 'SerialPrint_P' was not declared in this scope
daphc.pde: In function 'void sdErrorCheck()':
daphc:89: error: 'card' was not declared in this scope
daphc:90: error: 'PgmPrint' was not declared in this scope
daphc:91: error: 'card' was not declared in this scope
daphc.pde: At global scope:
daphc:99: error: variable or field 'play' declared void
daphc:99: error: 'FatReader' was not declared in this scope
daphc:99: error: 'dir' was not declared in this scope
Also when I put wavehc20090127
wavehc20090418
wavehc20090420
wavehc20090506
wavehc20090519
wavehc20091219
wavehc20100314
wavehc20101009
wavehc20110508
wavehc20110919
folders into Arduino>Libraries folder, only one of them shows in Arduino>File>Example. Anyway I don't know which sketch is supposed to run on Arduino Uno so that my wave shield baby can play wave files on my formatted San Disk.
Hope you can help me make it play music.
your Fan
Thanks for the reply. I attached three photos. It's my first solder job. One of the photos shows the wave shield on top of the Arduino Uno.
I ran Arduino>File>Example>wavehr20110919>waveHC>daphc, it can't be downloaded to the Arduino Uno. Because
daphc:7: error: 'SdReader' does not name a type
daphc:8: error: 'FatVolume' does not name a type
daphc:9: error: 'FatReader' does not name a type
daphc:10: error: 'WaveHC' does not name a type
daphc:13: error: 'dir_t' does not name a type
daphc:22: error: variable or field 'play' declared void
daphc:22: error: 'FatReader' was not declared in this scope
daphc:22: error: 'dir' was not declared in this scope
daphc.pde: In function 'void setup()':
daphc:28: error: 'putstring_nl' was not declared in this scope
daphc:30: error: 'putstring' was not declared in this scope
daphc:31: error: 'FreeRam' was not declared in this scope
daphc:34: error: 'card' was not declared in this scope
daphc:39: error: 'card' was not declared in this scope
daphc:44: error: 'vol' was not declared in this scope
daphc:55: error: 'vol' was not declared in this scope
daphc:58: error: 'root' was not declared in this scope
daphc:66: error: 'root' was not declared in this scope
daphc:66: error: 'LS_R' was not declared in this scope
daphc:66: error: 'LS_FLAG_FRAGMENTED' was not declared in this scope
daphc.pde: In function 'void loop()':
daphc:71: error: 'root' was not declared in this scope
daphc:72: error: 'play' was not declared in this scope
daphc.pde: In function 'void error_P(const char*)':
daphc:80: error: 'PgmPrint' was not declared in this scope
daphc:81: error: 'SerialPrint_P' was not declared in this scope
daphc.pde: In function 'void sdErrorCheck()':
daphc:89: error: 'card' was not declared in this scope
daphc:90: error: 'PgmPrint' was not declared in this scope
daphc:91: error: 'card' was not declared in this scope
daphc.pde: At global scope:
daphc:99: error: variable or field 'play' declared void
daphc:99: error: 'FatReader' was not declared in this scope
daphc:99: error: 'dir' was not declared in this scope
Also when I put wavehc20090127
wavehc20090418
wavehc20090420
wavehc20090506
wavehc20090519
wavehc20091219
wavehc20100314
wavehc20101009
wavehc20110508
wavehc20110919
folders into Arduino>Libraries folder, only one of them shows in Arduino>File>Example. Anyway I don't know which sketch is supposed to run on Arduino Uno so that my wave shield baby can play wave files on my formatted San Disk.
Hope you can help me make it play music.
your Fan
- Attachments
-
- photo 3.JPG (29.4 KiB) Viewed 542 times
-
- photo 1.JPG (28.61 KiB) Viewed 542 times
-
- photo 2.JPG (28.85 KiB) Viewed 542 times
- Franklin97355
- Posts: 23911
- Joined: Mon Apr 21, 2008 2:33 pm
Re: need a correct sketch to run wave-shield
Your libraries do not seem to be installed where the Arduino IDE can find them Look at this library install tutorial.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: need a correct sketch to run wave-shield
You only need the most recent folder. And you must rename it to "wavehc" in your libraries folder.wheel wrote:Also when I put wavehc20090127
-
- Posts: 3
- Joined: Thu Oct 03, 2013 12:50 pm
Re: need a correct sketch to run wave-shield
Thank you. This time it worked!
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: need a correct sketch to run wave-shield
Glad to hear it!
Please be positive and constructive with your questions and comments.