I got an error about classifing a variable I wrote it like this:
x = 0;
pushButton = 0;;
What is wrong?
I got an error about classifing a variable I wrote it like this:
x = 0;
pushButton = 0;;
What is wrong?
You really can't see the double semicolon?
Two semicolons is not a problem.
No data type is a problem.
OP, it is best to post all your code.
I got an error about classifing a variable
But you couldn't be bothered to show it to us?
The double semi colons was a typo
AWOL:
Two semicolons is not a problem.
Good point, although it still bugs me.
It was a typo, but is there any other problems?
i_luv_arduino:
It was a typo, but is there any other problems?
Yes, we can't see all of the code.
i_luv_arduino:
I got an error about classifing a variable I wrote it like this:
...
What is wrong?
What is classifing a variable? What is the error? Where is your code?
my code is too long to post here. By classifing a variable I mean how do I write the variable part properly.
And the error is "expected constructor, destructor or type conversion before '=' token" and it highlights the "x = 0;" part
int x = 0;
Thanks that worked!
See reply #2