Please help out noob

I have arduino uno using on windows 10 and arduino 1.8.0.
My problem is my code doesn't work the way I typed after using serial communication (serial.begin(9600)) the arduino doesnt perform the code i program but before serial communication it work find.

I've tryed example blink, fade, analogreadserial,
they all worked

Int L=1;
void setup(){
pinMode(13,OUTPUT);
pinMode(0,OUTPUT);
Serial.begin(9600);

}

Void loop(){
for(int x=0;x<10;x++){
digitalWrite(13,HIGH);
delay(100);
digitalWrite(13,LOW);
delay(100);
digitalWrite(0,HIGH);
delay(100);
digitalWrite(0,LOW);
delay(100);

}
Serial.print("loops:");
Serial.println(L)
L=L+1;



}

only pin 13 and the serial monitors worked.

Sorry, but there is no way some one can help you out with your description. Try to explain one single problem first.

Can you attach the sketch so people can look at it please

Start by loading and uploading the Blink sketch.
Does it compile ?
Does it upload ?
Does the built in LED blink ?

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Thanks.. Tom... :slight_smile:

sunnysimon:
Sorry, but there is no way some one can help you out with your description. Try to explain one single problem first.

I was assuming all those problem were from the same source problem BC there all similar. I've changed my post since your reply.

Hi, the serial comms uses pins 0 and 1, so try using a different pin for your LED.
P

Pdeeming:
Hi, the serial comms uses pins 0 and 1, so try using a different pin for your LED.
P

tryed it no output from the arduino at all but serial monitor worked.

How did that code in the first post even compile, with this line:

Int L=1;

I guess that capital-L's just a mistake from your posting, not in the code?

In any case, put the current code here and let's have a look. But don't put the new code in the old post, make a new post, else it confuses the carp out of everyone.