loginov-rocks/UbxGps

problem while compile

Closed this issue · 3 comments

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?

Hi @santersa

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

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

Hi @phdaerospace

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