I know for a fact this has been done many times before, so why not mine? I will use this post as practice so that's why i'm posting a simple program to get the hang of the forum.
/*
This is a basic blink function for Arduino uno R3 that uses the onboard LED, if you want, you can plug an LED into the ground port and the 13 port and that LED will do the same thing as the onboard one.
Code by Mike T. Pate
*/
int ledPin = 13;
void setup() {
pinMode(ledPin, OUTPUT);
}
void loop() {
digitalWrite(ledPin, HIGH);
delay(1000);
digitalWrite(ledPin, LOW);
delay(1000);
}