This is my code. I cannot figure out what my errors are.
hc-06_2.ino:7:11: error: expected unqualified-id before ')' token
hc-06_2.ino:35:11: error: expected unqualified-id before ')' token
Error compiling.
hc-06_2.ino (1.19 KB)
This is my code. I cannot figure out what my errors are.
hc-06_2.ino:7:11: error: expected unqualified-id before ')' token
hc-06_2.ino:35:11: error: expected unqualified-id before ')' token
Error compiling.
hc-06_2.ino (1.19 KB)
I just did what you could easily have done.
I made a copy of your program and deleted all below setup() and tried to compile it with an empty loop().
That worked so I added the loop() content
That worked ...
but the problem emerged with the function auto()
When I changed its name to autoxx() it compiled
I guess auto means something special and should not be used.
...R
Good detective work Robin. And yep I verified that by adding auto() and autoxx() to BareMinimum; auto() causes the same error as OP.
void setup() {}
void loop() {}
void autoxx() {} //compiles
void auto() {} //doesn't compile