ehsan gilassi Member Feb 27, 2022 #1 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);" " ^~~"
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);" " ^~~"
Erel B4X founder Staff member Licensed User Longtime User Feb 28, 2022 #2 Can you upload the project? Upvote 0
ehsan gilassi Member Mar 1, 2022 #3 Erel said: Can you upload the project? Click to expand... HI Erel. I was wrong in choosing the variable. The problem was solved and it worked. Thank you for your prompt reply Regards. Ehsan. Upvote 1
Erel said: Can you upload the project? Click to expand... HI Erel. I was wrong in choosing the variable. The problem was solved and it worked. Thank you for your prompt reply Regards. Ehsan.