Code problem with LED

You need to post the exact code you are having trouble with to get useful help.