Help

Good Evening Everyone,
I am a new Arduino user and I am stuck. I don't understand what pin 13 is.
In my class we are doing the 13 codes, and #7 is pushing buttons.
The main idea for this set up has pin 13 used twice, and then it gets moved to pin 9, and I don't know why.
Can anyone help me?? I understand that it may be a led, but what difference does that make??
Thanks,
CMcG72

In Arduino Uno, pin 13 is dealing with onboard LED. If you moved to pin 9, then you should connect an external LED to pin 9 (dont forget resistor).

Pin D13 can be connected to a LED.
In this case you configure the pin as an output.
As an output the pin can turn things on or off.
Imagine the LED was the light in your bedroom.
You could program the light to come on at 6:00AM to wake you up.

Pin D13 can be configured as an input.
In this case a switch can be connected to the pin then monitored by your program.
For example you can time how long it takes you to push the switch twice.
You could then print this time to your P.C. computer or LCD display.

CMcG72:
The main idea for this set up has pin 13 used twice, and then it gets moved to pin 9, and I don't know why.
Can anyone help me?? I understand that it may be a led, but what difference does that make??
Thanks,
CMcG72

Maybe you should post the code so we can see what you mean by 'used twice ' and by 'moved to 9'.

Please post your code betwwen code tags
** **[code]** **
and
** **[/code]** **

Are those your exercices Arduino starter kit?