I am getting a really weird error and wanted to know if anyone knows the proper way to fix it.
What i did:
I found and example snake program formy Esplora and TFT screen. I pasted the code into a new IDE window and started getting crazy errors when I tried to compile it.
The error:
The first error I got was about the #include. It would tell me that the #include expects <file_name>. In orderto fix Iit I had to comment/delete and on a new line retype the code exactly as it was. This got the program compiling but I started getting Stray /304 errors.
Bad solution:
After looking it up online I found that it is a copy and paste error and try to re type the problem line of code. After lots of testing ifound that this works. However, get this error on EVERY line including comments. Seems crazy to retype the entire program which in this smaller one it is doable but in a larger program that is just crazy.
Other things I tried (that failed):
- Copy the code into other applications, like word and note pad, then into the IDE. Unfortunately i got the same errors.
- Reinstall the IDE.
Anyone else get this error and have better luck fixing it?
Thanks,
John