Chaplin: please send your code so we can determine what the issue is.
Your main-loop is
/* Place your application code here. */
So you will need another delay after switching the LED off or it will be switched on immediately when the loop is executed again.