"All we had to do was type pinMode("led name", OUTPUT);
That should set up the ground port for the LED."
before setup declare the new LED and pin connection :-
int ledname = 8;
And then in Setup
pinMode("ledname", OUTPUT);
and in loop
digitalWrite ( ledname , HIGH);
and the LED connected to pin 8 ( via a resistor ! ) should light...