No grumping, here, buddy, just pointing out typical etiquette on the forum. As a newbie, he may not be aware.
You're assuming something that isn't there.
C
Don't worry about it. The thread is only six hours old and some are assuming that you've wandered off never to be seen again.
I wouldn't have worriedfor a day or two, then might request that you say something, anything at all, to indicate your presence and continued internet in the problem you brought here.
Actually I wouldn't worry at all. ppl ghost us here alla time.
Do you know what this pair of braces ( {} ) are for and that an opening brace ( { ) needs a closing brace ( } ) to close it? Count your number of opening braces ( { ) and your number of closing braces ( } ) an then divide by 2 to get no remainder. For example:
void setup()
{
}
void loop()
{
}
Number of opening braces ( { ) is 2.
Number of closing braces ( } ) is 2.
(2 + 2)/2 = 2 + 0 (the remainder).
There's a bit more to it. Braces come in matching pairs, every open brace is matched to a closing brace and you can't just count them to see if you've got the syntax correct.
void setup()
}
}
void loop()
{
{
Correct by counting and dividing, not all all correct code.
Let's see. You asked what was wrong with the code you posted. I pointed out a missing "}". If that addressed your question, a simple "thanks, that fixed it" would have sufficed. Instead, as you can see, the usual thread drift has occurred.
It doesn't matter, really, you have your answer.
C