problem with L-LED arduino Uno

Are you using Labview in your test..?

The logic of the sketch is not right actually.

void loop()
{
digitalWrite(led,LOW); // the led is in OFF state
}

You havent told the microcontroller to lit the led at all. Try the BLINK example first.
:slight_smile: