Tone.h

when I was testing newly installed tone library, it always shows that

Documents\Arduino\libraries\Tone\Tone.cpp:26:20: fatal error: wiring.h: No such file or directory

#include <wiring.h>

^

compilation terminated.

exit status 1
Error compiling.

what does it mean? should it be wire.h or wiring.h included in tone.h?

thanks

kjiao:
#include <wiring.h>

Looks like you want to install a library from the age of the dinosaurs.

Why?

Arduino comes already with a tone() function, which can be used without additional tone.h library installation.