Skip to content

Compile Errors. Naming and class I2CGPS has no member named 'begin' Errors #9

@edmod209

Description

@edmod209

Compile Error
I have compile errors when using this code on the Particle platform. When I using Visual Studio Code as the editor, I get 2 of the following errors:

  1. The library.properties file within the 'name' field has the name 'SparkFun I2C GPS Reading and Control'. When I compile, it doesn't like having spaces in its name. Once I remove the spaces, it compiles. Also, should the name be 'SparkFun_I2C_GPS_Arduino_Library'? Quite frankly, I prefer that the Github name be 'SparkFunI2CGPSReadingandControl' and the name field as well as the .ccp and .h names would reflect accordingly. There is no need to called it an Arduino Library in its name.

  2. The 2nd error is that I get 'class I2CGPS' has no member named 'begin'. When I look at other SparkFun coding, there may be a bug. I looked at this link Compile error: 'class HM1X_BT' has no member named 'begin' SparkFun_HM1X_Bluetooth_Arduino_Library#1

I have been using TingGPS.ino sample code supplied with this library.

The interesting part is that I don't get errors if I use the Arduino IDE and the supplied libraries in the SparkFun GPS Breakout - XA1110 (Qwiic) Hookup Guide so the issues must be related to the Particle platform

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions