Have I fried one of my input pins?

Hi,

I'm only on my 2nd day of learning my Arduino, I'm still finding my way around it.

I have a very simple program; 4 pins in input pullup mode and remaining on input, then pin13 on output.
Then it will write back via serial print command:

void loop() {

Serial.println();
Serial.print(digitalRead(1));
Serial.println();

delay(1000);
}

I was able to test pins 0, 2, and 3. However, everytime I short pin 1 to ground, the program freezes and returns few junk characters.

The program resume as soon as pin 1 is open.

Have I got a fried input pin?

pin one is the transmit pin of the avr chip, which eventually goes to your serial monitor

otherwords dont use pins 0 and 1 if you intend to use serial, and keep in mind stuff hooked up to them could monkey with uploading programs

Osgeld:
pin one is the transmit pin of the avr chip, which eventually goes to your serial monitor

otherwords dont use pins 0 and 1 if you intend to use serial, and keep in mind stuff hooked up to them could monkey with uploading programs

Thanks!

That clears up why it is behaving like this.