Get LED to light up without bit shifts.
Change line endings to Unix style.
Revert change that removes bit shifts.
Get the LED blinking.
Remove duplication of the wait loop.