added missing 'wait' statement; the LED is blinking properly now