Hi all,
excuse my english hi

i'm using the Tone library with Arduino v1.03. i modifiy the .cpp & the exemple run correctly but ...
i' trying to use in my program & i have this compilation errors :
have some idea ?
thanks a lot
Patrick
the compilation error :
core.a(Tone.cpp.o): In function `__vector_7':
D:\App\arduino-1.0.3\hardware\arduino\cores\arduino/Tone.cpp:535: multiple definition of `__vector_7'
Tone\Tone.cpp.o:D:\App\arduino-1.0.3\libraries\Tone/Tone.cpp:439: first defined here
core.a(Tone.cpp.o): In function `disableTimer(unsigned char)':
D:\App\arduino-1.0.3\hardware\arduino\cores\arduino/Tone.cpp:426: multiple definition of `timer2_toggle_count'
Tone\Tone.cpp.o:D:\App\arduino-1.0.3\libraries\Tone/Tone.cpp:102: first defined here
core.a(Tone.cpp.o): In function `disableTimer(unsigned char)':
D:\App\arduino-1.0.3\hardware\arduino\cores\arduino/Tone.cpp:426: multiple definition of `timer2_pin_port'
Tone\Tone.cpp.o:D:\App\arduino-1.0.3\libraries\Tone/Tone.cpp:102: first defined here
core.a(Tone.cpp.o): In function `disableTimer(unsigned char)':
D:\App\arduino-1.0.3\hardware\arduino\cores\arduino/Tone.cpp:426: multiple definition of `timer2_pin_mask'
Tone\Tone.cpp.o:D:\App\arduino-1.0.3\libraries\Tone/Tone.cpp:102: first defined here
core.a(Tone.cpp.o): In function `disableTimer(unsigned char)':
D:\App\arduino-1.0.3\hardware\arduino\cores\arduino/Tone.cpp:426: multiple definition of `timer0_pin_port'
Tone\Tone.cpp.o:D:\App\arduino-1.0.3\libraries\Tone/Tone.cpp:102: first defined here
core.a(Tone.cpp.o): In function `disableTimer(unsigned char)':
D:\App\arduino-1.0.3\hardware\arduino\cores\arduino/Tone.cpp:426: multiple definition of `timer0_pin_mask'
Tone\Tone.cpp.o:D:\App\arduino-1.0.3\libraries\Tone/Tone.cpp:102: first defined here
core.a(Tone.cpp.o): In function `disableTimer(unsigned char)':
D:\App\arduino-1.0.3\hardware\arduino\cores\arduino/Tone.cpp:426: multiple definition of `timer1_pin_port'
Tone\Tone.cpp.o:D:\App\arduino-1.0.3\libraries\Tone/Tone.cpp:102: first defined here
core.a(Tone.cpp.o): In function `disableTimer(unsigned char)':
D:\App\arduino-1.0.3\hardware\arduino\cores\arduino/Tone.cpp:426: multiple definition of `timer1_pin_mask'
Tone\Tone.cpp.o:D:\App\arduino-1.0.3\libraries\Tone/Tone.cpp:102: first defined here
core.a(Tone.cpp.o): In function `disableTimer(unsigned char)':
D:\App\arduino-1.0.3\hardware\arduino\cores\arduino/Tone.cpp:426: multiple definition of `timer0_toggle_count'
Tone\Tone.cpp.o:D:\App\arduino-1.0.3\libraries\Tone/Tone.cpp:102: first defined here
core.a(Tone.cpp.o): In function `disableTimer(unsigned char)':
D:\App\arduino-1.0.3\hardware\arduino\cores\arduino/Tone.cpp:426: multiple definition of `timer1_toggle_count'
Tone\Tone.cpp.o:D:\App\arduino-1.0.3\libraries\Tone/Tone.cpp:102: first defined here