Skip to content

Example program for GPS has an error #14

Description

@SamGJay

I think that line 8 for the example program "oledDisplayGPSInfo" for HTCC-AB02S CubeCell Lora-GPS board should be updated.

Currently it is:

SSD1306Wire  display(0x3c, 500000, I2C_NUM_0, GEOMETRY_128_64, GPIO10 ); // addr , freq , i2c group , resolution , rst

But this results in error from Arduino IDE 1.8.19: "no matching function for call to 'SSD1306Wire::SSD1306Wire(int, int, int, DISPLAY_GEOMETRY, PinNames)'

The program seems to work when this I2C_NUM_0 updated to SDA, SCL as below:

SSD1306Wire  display(0x3c, 500000, SDA, SCL, GEOMETRY_128_64, GPIO10 ); // addr , freq , i2c group , resolution , rst

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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