'for' looping problem

alkopop79:
Can you put your code in [ code ] tags please?

Doesn't seem to make much difference.

Then you did it wrong. This is in code tags:

int incomimgPin = Serial.read();
    Serial.println(incomingPin);

It's also the reason for your error. Check your spelling.