I'm getting this error when I'm implementing this library into my code:
/var/folders/SS/SSfFBG4vF5eSrAccx2V4vU+++TI/-Tmp-/build2755124691246552518.tmp/WaveHC/WaveHC.cpp.o: In function `__vector_17':
/Users/elijahwood/Documents/Arduino/libraries/WaveHC/WaveHC.cpp:41: multiple definition of `__vector_17'
/var/folders/SS/SSfFBG4vF5eSrAccx2V4vU+++TI/-Tmp-/build2755124691246552518.tmp/Servo/Servo.cpp.o:/Applications/Arduino.app/Contents/Resources/Java/libraries/Servo/Servo.cpp:103: first defined here
The example sketches compile fine. You can find my code here:
files.me.com/elijahwood/hm3zf6 (just type this into a browser any you'll get a zip file with my code. It has 7 tabs, so I can't post it directly.)
I use these librarys:
#include <SoftwareSerial.h>
#include <Servo.h>
#include <x10.h>
#include <x10constants.h>
#include <TimeAlarms.h>
#include <Time.h>
#include <Ethernet.h>
#include <UdpBytewise.h>
#include <WString.h>
I'm thinking maybe, It's having a problem in conjunction with the other libraries.
Here is the wave shield library:
http://code.google.com/p/wavehc/
Here is an example sketch I made that can play a file:
#include "WaveHC.h"
#include "WaveUtil.h"
WaveHC wave; // This is the only wave (audio) object, since we will only play one at a time
void setup() {
}
void loop() {
playcomplete("CONNECTING.WAV");
delay(1000);
playcomplete("STARTING.WAV");
}
void playcomplete(char *name) {
playfile(name);
while (wave.isplaying);
}
void playfile(char *name)
{
if (wave.isplaying) {// already playing something, so stop it!
wave.stop(); // stop it
}
// ok time to play!
wave.play();
}
Like I said, this compiles fine.
Thanks,
Elijah