Hi Jimmy,
I was trying to rebuild the demo software, to change the MQTT server name, because the mqtt.espert.io doesn't seem to be running anymore.
When adding the required libraries I couldn't find the required version:
ESP8266 Oled Driver for SSD1306 display by Daniel Eichborn, Fabrice Weinberg version 3.2.6
The version 3.2.6 isn't available, only 4.1.0 shows up.
When I do the build it fails with:
C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESPert\src\ESPert.cpp:891:53: error: invalid conversion from 'const char*' to 'const uint8_t* {aka const unsigned char*}' [-fpermissive]
display->drawXbm(x, y, w, h, (const char*)bitmap);
^
In file included from C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESP8266_and_ESP32_OLED_driver_for_SSD1306_displays\src/SSD1306Wire.h:34:0,
from C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESP8266_and_ESP32_OLED_driver_for_SSD1306_displays\src/SSD1306.h:33,
from C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESPert\src\ESPert.h:20,
from C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESPert\src\ESPert.cpp:1:
C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESP8266_and_ESP32_OLED_driver_for_SSD1306_displays\src/OLEDDisplay.h:225:10: error: initializing argument 5 of 'void OLEDDisplay::drawXbm(int16_t, int16_t, int16_t, int16_t, const uint8_t*)' [-fpermissive]
void drawXbm(int16_t x, int16_t y, int16_t width, int16_t height, const uint8_t *xbm);
^
C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESPert\src\ESPert.cpp: In member function 'void ESPert_OLED::drawBitmap(int16_t, int16_t, int16_t, int16_t, const uint8_t*, bool)':
C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESPert\src\ESPert.cpp:901:53: error: invalid conversion from 'const char*' to 'const uint8_t* {aka const unsigned char*}' [-fpermissive]
display->drawXbm(x, y, w, h, (const char*)bitmap);
^
In file included from C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESP8266_and_ESP32_OLED_driver_for_SSD1306_displays\src/SSD1306Wire.h:34:0,
from C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESP8266_and_ESP32_OLED_driver_for_SSD1306_displays\src/SSD1306.h:33,
from C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESPert\src\ESPert.h:20,
from C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESPert\src\ESPert.cpp:1:
C:\Users\tombe\OneDrive\Documents\Arduino\libraries\ESP8266_and_ESP32_OLED_driver_for_SSD1306_displays\src/OLEDDisplay.h:225:10: error: initializing argument 5 of 'void OLEDDisplay::drawXbm(int16_t, int16_t, int16_t, int16_t, const uint8_t*)' [-fpermissive]
void drawXbm(int16_t x, int16_t y, int16_t width, int16_t height, const uint8_t *xbm);