I'm writing up a basic program to read a random analogue value and use it as seed for a delay factor before turning an LED on, I thought I'd use the built in LED on pin 13 but I won't go out even if I comment out the code turning it on and it is turned off manually in there setup part of the code.
I see that once the led is turned on, never turns off, you don't have a digitalWrite (13, LOW) in any point of the loop() function, so it never turns off. It turns on once after the delay() and keeps on ever and ever.