Have spent an hour trying to solve this and looked on the internet.
When i add this #include <Tone.h> i get a fatal error.
'libraries\Tone\Tone.cpp:24:27: fatal error: avr/interrupt.h: No such file or directory #include <avr/interrupt.h>'
But I am not sure if the Tone library has been implemented on the ESP8266 ?
Any help would be appreciated.
Regards
Gary