Ok im trying to do an automated irrigation system and my code in arduino its from a page, but theres so many errors in the code so i wanna know if can u help me?
stray '\342' in program
Ok im trying to do an automated irrigation system and my code in arduino its from a page, but theres so many errors in the code so i wanna know if can u help me?
stray '\342' in program
It says you have a stray 8-bit (non-ASCII) character in your program source, which isn't valid in C++. The
rogue character has octal code 342 (which is 0xE2 in hex, or 226 decimal)
Post your code in code tags, and the errors (in code tags), completely verbatim, if you want further help with these.
You usually get those stray invisible characters when you have copied some code from a website. One of the easiest ways to get rid of them is to post it here using </> code tags. If you then select it and copy it back into the IDE that will have stripped all the stray characters out.
Steve
In the message window there'll also be a message which says at what line the error occurred.
Examine that line in your main window to see if there are any strange characters...