Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gps] make the date available in addition to the time #532

Merged
merged 4 commits into from
Apr 13, 2023
Merged

[gps] make the date available in addition to the time #532

merged 4 commits into from
Apr 13, 2023

Conversation

pmcanseco
Copy link
Contributor

@pmcanseco pmcanseco commented Mar 12, 2023

I was using the GPS driver and found that while getting the time out of the library worked great, I had no way to get the date. This PR references the spec present in the code comments for the RMC Sentence Type to grab the date and adds unit test coverage parsing for both time and date.

@pmcanseco pmcanseco changed the title [gps] also parse out the date from an RMC NMEA Sentence [gps] make the date available in addition to the time Mar 12, 2023
@deadprogram
Copy link
Member

Thanks for the addition @pmcanseco now squashing/merging.

@deadprogram deadprogram merged commit bf53cb2 into tinygo-org:dev Apr 13, 2023
@pmcanseco pmcanseco deleted the gps-date branch April 13, 2023 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants