Great! It was a mistake, works fine now, thank you. Sorry I just see this:
The code I modified from BlinkWithoutDelay.
BlinkWithoutDelay