
Table of Contents
Stray 342 Error? 302 Error?
One of the common errors you will see while programming your Arduino is a stray error. There is a number of causes for it. It is usual to see the following stray errors in your code,
- error stray ‘ 342’ in program.
- error stray ‘#’ in program.
- or stray ‘ 315’ in program.
- stray ‘\’ in program .
- stray ‘\302’ in program.
- error stray ‘ 240’ in program.
It is quite frustrating to deal with all these errors. Watch the video to get rid of this error or continue reading.
SEND WHATSAPP MESSAGES USING ARDUINO!
Why you get Stray errors?
If you are having a stray error on the compilation of code, itis most likely that you have copied the code from any website which has Unicode characters.
How to get rid of Stray error?
when you will have this error, the compiler will indicate the line. All you have to do is to remove the invalid characters. The invalid character may or may not be visible. If you cannot see any character just remove the space before the line.
After removing all the invalid spaces and characters, your code will compile fine.


Leave a Reply