SlashDevin / NeoGPS

NMEA and ublox GPS parser for Arduino, configurable to use as few as 10 bytes of RAM
GNU General Public License v3.0
709 stars 195 forks source link

NMEASDlog #130

Open bchasco opened 5 years ago

bchasco commented 5 years ago

Hello Devin:

I think your product is awesome, except I am having an issue with the NMEASDlog example that I cannot resolve (see error below). I am using an Arduino board and I have configured the interupt message in the NMEAGPS.cfg and I have uncommented

include // AltSoftSerial with Interrupt-style processing (see docs)

in the GPSport.h header file.

Are there additional configuration changes I need to make in the NeoICSerial config files?

Thanks I get the following error when I compile, Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "Arduino/Genuino Uno"

In file included from C:\Users\chascob\Documents\Arduino\NMEASDlog2\NMEASDlog2.ino:41:0:

C:\Users\chascob\Documents\Arduino\libraries\NeoGPS\src/GPSport.h:232:35: error: no matching function for call to 'NeoICSerial::NeoICSerial(int, int)'

SS_TYPE gpsPort( RX_PIN, TX_PIN );

                               ^

C:\Users\chascob\Documents\Arduino\libraries\NeoGPS\src/GPSport.h:232:35: note: candidates are:

In file included from C:\Users\chascob\Documents\Arduino\NMEASDlog2\NMEASDlog2.ino:3:0:

C:\Users\chascob\Documents\Arduino\libraries\NeoICSerial/NeoICSerial.h:56:2: note: NeoICSerial::NeoICSerial()

NeoICSerial() { }

^

C:\Users\chascob\Documents\Arduino\libraries\NeoICSerial/NeoICSerial.h:56:2: note: candidate expects 0 arguments, 2 provided

C:\Users\chascob\Documents\Arduino\libraries\NeoICSerial/NeoICSerial.h:53:7: note: constexpr NeoICSerial::NeoICSerial(const NeoICSerial&)

class NeoICSerial : public Stream

   ^

C:\Users\chascob\Documents\Arduino\libraries\NeoICSerial/NeoICSerial.h:53:7: note: candidate expects 1 argument, 2 provided

exit status 1 Error compiling for board Arduino/Genuino Uno.

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.