LilyGO / TTGO-LORA32

ESP32-TTGO-T3
326 stars 100 forks source link

void logo() errormessage #14

Open SchneHa opened 6 years ago

SchneHa commented 6 years ago

Lines 22 to 26 of OLED_LoRa_Sender are faulty:

void logo(){
  display.clear();
  display.drawXbm(0,5,logo_width,logo_height,logo_bits);
  display.display();
}

Line 24: display.drawXbm(0,5,logo_width,logo_height,logo_bits); causes the message: invalid conversion from 'char*' to 'const uint8_t* {aka const unsigned char*}' [-fpermissive]

What's going wrong?

SchneHa commented 6 years ago

Found the solution: Wrong ssd1306.h library. Must be library "ESP8266 and ESP32 Oled Driver for SSD1306 Display" of Daniel Eichhorn and Fabrice Weinberg.

But the logo looks rather strange. Can anyone post it as it should be? I think something might be wrong with the images.h