Hi
I’m trying to flash the Arduino sketch for Cubecell 6502 oled GPSinfo.
Unfortunately, I always get an error message.
C:\Users\Andre\AppData\Local\Temp.arduinoIDE-unsaved20221014-8004-q37cq1.g17pc\oledDisplayGPSInfo\oledDisplayGPSInfo.ino:8:71: error: no matching function for call to ‘SSD1306Wire::SSD1306Wire(int, int, int, DISPLAY_GEOMETRY, PinNames)’
SSD1306Wire display(0x3c, 500000, I2C_NUM_0, GEOMETRY_128_64, GPIO10 ); // addr , freq , i2c group , resolution , rst
^
In file included from C:\Users\Andre\AppData\Local\Temp.arduinoIDE-unsaved20221014-8004-q37cq1.g17pc\oledDisplayGPSInfo\oledDisplayGPSInfo.ino:6:0:
C:\Users\Andre\AppData\Local\Arduino15\packages\CubeCell\hardware\CubeCell\1.5.0\libraries\DISPLAY\src/HT_SSD1306Wire.h:17:5: note: candidate: SSD1306Wire::SSD1306Wire(uint8_t, uint32_t, int, int, DISPLAY_GEOMETRY, int8_t)
SSD1306Wire(uint8_t _address, uint32_t _freq, int sda,int scl, DISPLAY_GEOMETRY g = GEOMETRY_128_64,int8_t _rst=-1) {
^
C:\Users\Andre\AppData\Local\Arduino15\packages\CubeCell\hardware\CubeCell\1.5.0\libraries\DISPLAY\src/HT_SSD1306Wire.h:17:5: note: no known conversion for argument 5 from 'PinNames ’ to ‘DISPLAY_GEOMETRY’
C:\Users\Andre\AppData\Local\Arduino15\packages\CubeCell\hardware\CubeCell\1.5.0\libraries\DISPLAY\src/HT_SSD1306Wire.h:8:7: note: candidate: SSD1306Wire::SSD1306Wire(const SSD1306Wire& )
class SSD1306Wire : public ScreenDisplay {
^
C:\Users\Andre\AppData\Local\Arduino15\packages\CubeCell\hardware\CubeCell\1.5.0\libraries\DISPLAY\src/HT_SSD1306Wire.h:8:7: note: candidate expects 1 argument, 5 provided
exit status 1
Compilation error: no matching function for call to ‘SSD1306Wire::SSD1306Wire(int, int, int, DISPLAY_GEOMETRY, PinNames)’
I hope someone can help me
Regards
Andre