The 1PPS pulse is very narrow. You will miss it if it comes in while parsing a time message. You need to set up an interrupt handler to that triggers on the rising edge of the pulse and sets a flag (which must be declared "volatile"). Check that flag in your loop() instead of waiting for a PPS pulse. If set, display the time and clear the flag.
The 1PPS pulse is very narrow. You will miss it if it comes in while parsing a time message. You need to set up an interrupt handler to that triggers on the rising edge of the pulse and sets a flag (which must be declared "volatile"). Check that flag in your loop() instead of waiting for a PPS pulse. If set, display the time and clear the flag.