HelTecAutomation / CubeCell-Arduino

Heltec CubeCell Series (based on ASR6501, ASR6502 chip) Arduino support.
256 stars 140 forks source link

Error in OnBoardGPS examples with Display usage #265

Open Koloblix opened 1 year ago

Koloblix commented 1 year ago

hi,

there is an issue in OnBoardGPS examples with display initialisation.

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

dosn' work, it must be:

SSD1306Wire display(0x3c, 500000, SDA, SCL, GEOMETRY_128_64, GPIO10);

in all examples with display usage under OnBoardGPS to work.