@longpole001 and rsocor01:

I don't know why it didn't work correctly, I could see the LED flashing properly though.

Even now it works instable so I'll try to use debug and debugin to see if it'll make a difference...