Skip to content

Commit 0b8e957

Browse files
committed
Remove screen server code
1 parent 61dfb2b commit 0b8e957

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/Generic/Local_Custom_Fonts/Local_Custom_Fonts.ino

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545

4646
#include "SPI.h"
4747
#include "TFT_eSPI.h"
48-
#include "TFT_eFEX.h"
4948

5049
// The custom font file attached to this sketch must be included
5150
#include "MyFont.h"
@@ -58,7 +57,6 @@
5857

5958
// Use hardware SPI
6059
TFT_eSPI tft = TFT_eSPI();
61-
TFT_eFEX fex = TFT_eFEX(&tft);
6260

6361
void setup(void) {
6462

@@ -111,7 +109,7 @@ void loop() {
111109
tft.setFreeFont(MYFONT32); // Select the font
112110
tft.drawString(TEST_TEXT, 160, 140, GFXFF); // Print the test text in the custom font
113111
delay(2000);
114-
fex.screenServer();
112+
115113
// Setting textDatum does nothing when using tft.print
116114
tft.fillScreen(TFT_BLUE); // Clear screen
117115
tft.setCursor(0,60); // To be compatible with Adafruit_GFX the cursor datum is always bottom left

0 commit comments

Comments
 (0)