Starter Kit debug error message

Hi, I'm brand new to this so please forgive me :slight_smile:

I've configured the Spaceship Interface project and have double and triple checked my wiring and coding and still get the following error message:

Arduino: 1.5.8 (Windows 7), Board: "Arduino Uno"

_test1.ino:5:1: error: expected unqualified-id before numeric constant
_test1.ino:6:1: error: expected unqualified-id before numeric constant
_test1.ino:8:3: error: expected unqualified-id before numeric constant
_test1.ino:12:3: error: expected unqualified-id before numeric constant
_test1.ino:18:3: error: expected unqualified-id before numeric constant
Error compiling.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

Can anyone please tell me what I'm doing wrong?

Thanks so much, SquakMe

Out of interest have you tried it without connecting any electronics?

Yes, whether the board is connected to the computer or not I get the same code error.

I meant with the board connected to the computer but not what ever you have wired to it.

I have run two other projects successfully with the board before this one, both connected to the computer properly. Does that answer your question?

No.

It says the board did work, it doesn't say it still does.

What it seems to suggest is that you do have a wiring fault somewhere, but I wanted you to confirm to yourself that the board is fine before suggesting you have a really good look over your wiring.

Thanks, yes it does look like a coding error based on the error messages, but I would've thought the error messages were standardized and I should be able to lookup what these mean?

I've gone over the code and the wiring a bunch, kind of out of ideas in terms of rechecking everything.

Sorry, you said wiring error, and I'm thinking coding error.

Ah sorry, I thought you were getting that on upload not on compilation.

I think you may have an issue with the code...

In which case you should post this under programming questions with your actual code.

Oh, got it, thanks so much for the help and advice, I'll go cut and paste the code in programming. Cheers Rich (from Notts, living in the US).

You need to put the code between code tags.

Is there any clue as to what lines are giving the compile error?