Arduino MKR1000 Serial Ports

Don't know.

I am sure the problem is in your code whatever it is.