You should also include the complete compiler log.
Here is a tutorial how to adjust the arduino IDE for maximum verbose compiler-log.
This compiler log will answer these questions:
gfvalvo:
Are you sure it's the exact, complete code that caused the compilation error? Are there any other .ino, .h, or .cpp files in the project?
What Arduino board are you compiling for?
Hi newcomer,
the Arduino-Forum community can be of great help.
If the community is able to support you in a way that helps solving your problems depends on
detailed information that you should provide.
trying to be quick by posting a too short posting is just
slowing down
finding the solution. Because all that happends is that you are asked for the detailed information and have to provide it anyway. Only difference the answer and the solution comes later
The most important thing is to post …