Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Added printLimitedDebug #110

Merged
merged 2 commits into from
May 19, 2020
Merged

Added printLimitedDebug #110

merged 2 commits into from
May 19, 2020

Conversation

PaulZC
Copy link
Collaborator

@PaulZC PaulZC commented May 19, 2020

This commit changes enableDebugging so you can now enable limited debug messages:

void enableDebugging(Stream &debugPort = Serial, boolean printLimitedDebug = false);  //Given a port to print to, enable debug messages. Default to all, not limited.

Enable the limited messages by calling (e.g.):

myGPS.enableDebugging(Serial, true); // Print limited debug messages only

This will print a limited sub-set of debug messages that coincide with the checksumFailurePin being toggled. This makes it easier to identify when the I2C interface does something unexpected.

My current theory is that for best performance on the Artemis and ZED, the Artemis pull-ups should be disabled and the pull-up resistors on the ZED should be disabled too. The ZED has internal pull-ups of its own. Adding extra pull-ups external to the ZED seems to degrade the I2C performance.

@PaulZC PaulZC merged commit 61c85b6 into master May 19, 2020
@PaulZC PaulZC deleted the PaulZC__Testing_I2C_PullUps branch May 19, 2020 07:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant