how can i solve it??
theres an error in while
Welcome to the forum
Your topic was MOVED to its current forum category which is more appropriate than the original as it has nothing to do with Installation and Troubleshooting of the IDE
Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'
Use code tags (the </> icon above the compose window) to make it easier to read and copy for examination
As to the error, check your spelling of 'available'
Try change while (Serial.available()>0)
in while (Serial)
. No need to use the 'available' attribute for Serial.
The problem is that @zekiwtbaba does not even have
while (Serial.available()>0)
in his/her sketch, or at least not in the picture of the snippet that was posted
while (Serial.avaible()>0)...
Or just a typo.
a7
Please don't post pictures of text, just copy and paste it using code tags. You have a spelling mistake, look at other examples supplied with the IDE to see the correct spelling.
Have a great day.
Didn´t you read and undertand the error message provided by the compiler, did you?
Or, skip the word salad, and just check the spelling
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.