Hello!
Need help please with changing fonts on this display...
when writing in the code:
tft.setFont(&FreeSerifBoldItalic24pt7b);
get compile error:
Arduino: 1.8.16 (Windows Store 1.8.51.0) (Windows 10), Board: "Generic STM32F4 series, Adafruit Feather STM32F405, STM32CubeProgrammer (DFU), Enabled (generic 'Serial'), CDC (generic 'Serial' supersede U(S)ART), Low/Full Speed, Smallest (-Os default), Newlib Nano (default)"
sketch_nov24a:82:1: error: 'tft' does not name a type
82 | tft.setFont(&FreeSerifBoldItalic24pt7b);
| ^~~
exit status 1
'tft' does not name a type
i have declared in the header:
#include <Adafruit_GFX.h> // Core graphics library
#include <Adafruit_ST7735.h> // Hardware-specific library for ST7735
#include <Adafruit_ST7789.h> // Hardware-specific library for ST7789
#include <Fonts/FreeSerifBoldItalic24pt7b.h>
Can ay one help with this please?
Regards,
changing fonts in ST7789(240X240)
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
Please be positive and constructive with your questions and comments.