Arduino Error: stray ‘\240’ in program – How to solve

2 Responses

  1. nil nil says:

    It might be due to hidden characters in the code. Did you copy paste the code from any websites or similar pages?

  2. ramesh says:

    It occurs when compiling or uploading copy-pasted code. Try,First of all, Save the file.Then, Tools–>Fix Encoding & Reload.If any hidden characters are existing it will be displayed now. Remove that and compile again. I think your problem might have been fixed.

Leave a Reply

Your email address will not be published. Required fields are marked *