I think you might have save a file with name tone.ino.
While saving never name the Arduino file as tone.ino or Tone.ino; that is any files with name of inbuilt files like example files, etc., It will result in this type of error messages. So replace the file name or delete the file you have saved with name tone.ino.
I think you might have save a file with name tone.ino.
While saving never name the Arduino file as tone.ino or Tone.ino; that is any files with name of inbuilt files like example files, etc., It will result in this type of error messages. So replace the file name or delete the file you have saved with name tone.ino.