Arduino + nike sensor = Car Keyless entry

Problem solved.

Apparently i needed a small delay after I started the serial1, now it works everytime.

I now understand what you mean about trying to read without being sure its there, like i could be overtaking the serial stream.
I have changed that to check for all the bytes before i read them. Even thou it works without that check it is bad practice.
Thanks for your help.

One other thing, do you think i'll run into problems when millis overflows in 50 days?
I don't really expected to be using the autorelocking override much often (just get in and start the car). But any ideias to improve that?