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

Use with ESP32 #23

Open
AcuarioCat opened this issue Aug 15, 2024 · 0 comments
Open

Use with ESP32 #23

AcuarioCat opened this issue Aug 15, 2024 · 0 comments

Comments

@AcuarioCat
Copy link

I had problems using the library with an ESP32 so this is to help anyone in the same position.
I found I had to edit out the ->end, ->begin and ->flush lines in Ubx::Begin function in ubx.cpp

My code reads:
`
#define GPS_BAUD_RATE 921600
const int GPS_RX = 5;
const int GPS_TX = 4;

Serial2.begin(GPS_BAUD_RATE, SERIAL_8N1, GPS_RX, GPS_TX);

Gnss.Config(&Serial2);

`

and with that it works correctly.
Hope this helps.

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

No branches or pull requests

1 participant