loginov-rocks / UbxGps

Arduino library for the fastest and simplest communication with u-blox GPS modules
https://registry.platformio.org/libraries/loginov-rocks/UbxGps
MIT License
140 stars 44 forks source link

problem while compile #6

Closed santersa closed 6 years ago

santersa commented 6 years ago

I receive an error message while compiling the test sketch on string #18 UbxGpsNavPvt gps(Serial3);

here is message UbxGpsNavPvt:18: error: 'Serial3' was not declared in this scope

UbxGpsNavPvt gps(Serial3); ^

exit status 1 'Serial3' was not declared in this scope

What i have to write there?

loginov-rocks commented 6 years ago

Hi @santersa

The error explains that you have not Serial3, type in the serial you have. What board are you using?

phdaerospace commented 6 years ago

I too got the same error. I am using Arduino Nano.

loginov-rocks commented 6 years ago

Hi @phdaerospace

Nano board has only one Serial, so take a look at Uno sketches and how-to.