ehsan gilassi
Member
Hi .
I'm using esp32 (WROVER) and 2.8 inch TFT ili9341 .
I used this code for set font .
#if C
#include "FreeSans12pt7b.h"
void SetFont(B4R::Object* o) {
b4r_main::_ssd->GFX->gfx->setFont(&FreeSans12pt7b);
}
#End If
I got this error
"b4r_main.cpp:24:20: error: 'class B4R::B4RAdafruitGFX' has no member named 'GFX'"
" b4r_main::_tft->GFX->gfx->setFont(&FreeSans12pt7b);"
" ^~~"
I'm using esp32 (WROVER) and 2.8 inch TFT ili9341 .
I used this code for set font .
#if C
#include "FreeSans12pt7b.h"
void SetFont(B4R::Object* o) {
b4r_main::_ssd->GFX->gfx->setFont(&FreeSans12pt7b);
}
#End If
I got this error
"b4r_main.cpp:24:20: error: 'class B4R::B4RAdafruitGFX' has no member named 'GFX'"
" b4r_main::_tft->GFX->gfx->setFont(&FreeSans12pt7b);"
" ^~~"