Closed Julien83 closed 5 months ago
Hello when i try to draw jpg from SD card by this line
static LGFX lcd; lcd.drawJpgFile(SD, "/test.jpg");
i have this error
no matching function for call to 'lgfx::v1::LGFX::drawJpgFile(fs::SDFS&, const char [10])' lcd.drawJpgFile(SD, "/test.jpg");
Can you help me ?
hi,
make sure to include <SD.h> before <LovyanGFX.hpp>
<SD.h>
<LovyanGFX.hpp>
Thank you, all right it works
Hello when i try to draw jpg from SD card by this line
static LGFX lcd; lcd.drawJpgFile(SD, "/test.jpg");
i have this error
no matching function for call to 'lgfx::v1::LGFX::drawJpgFile(fs::SDFS&, const char [10])' lcd.drawJpgFile(SD, "/test.jpg");
Can you help me ?