[time-nuts] TruePosition and Arduino Progress
Mark Sims
holrum at hotmail.com
Sun May 21 11:09:07 EDT 2017
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.
More information about the time-nuts
mailing list