Hello,
I’m receiving the following error, hoping someones can help. Thanks!
Arduino: 1.8.19 (Mac OS X), Board: "Proffieboard V2, Serial + Mass Storage, SDCARD (SPI), 80 MHz, Smallest Code"
ProffieOS:1:1: error: stray '\303' in program
1 | Í›/*
| ^
ProffieOS:1:2: error: stray '\215' in program
1 | Í›/*
| ^
ProffieOS:1:3: error: stray '\342' in program
1 | Í›/*
| ^
ProffieOS:1:4: error: stray '\200' in program
1 | Í›/*
| ^
ProffieOS:1:5: error: stray '\272' in program
1 | Í›/*
| ^
exit status 1
stray '\303' in program
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Read the weird-unicode-character-errors section.
1 Like
However, based on your posted error report, you can see that it’s line 1, character 1 of your ProffieOS.ino file.
The first characters of the file are /*
which opens the comment block that follows.
You inadvertently bumped the keyboard or something while that file had the cursor at the top of the file, and a weird character got added.
Even if it weren’t a weird character, it doesn’t belong before the opening /*
So to summarize, just delete that thing and you might be good to go.
That doesn’t detract from the original answer, including the suggestion to edit your config file with a code friendly text editor like Sublime Text or Visual Code so as to prevent fancy invalid characters from being introduced to your code.
1 Like
That makes sense. Appreciate the tip on how to read the error code. Deleting it fixed it. Thanks again!