Dear All,
Good morning to you .
I am new about Arduino and not absolutely experience .
I have tried to use a TFT ili 9341 display with Arduino nano.
I downloaded some example, circle is ok .
But when I try the example below , I have
the error " undefined reference to simple font "
Please can you help me ?
Sorry for my ignorance but I want to learn ..
Thank You very much
Walter
include <stdint.h>
#include <TFTv2.h>
#include <SPI.h>
#include <fonts/allFonts.h>
void setup()
{
TFT_BL_ON; // turn on the background light
Tft.TFTinit(); // init TFT library
Tft.drawChar('S',0,0,1,RED); // draw char: 'S', (0, 0), size: 1, color: RED
Tft.drawChar('E',10,10,2,BLUE); // draw char: 'E', (10, 10), size: 2, color: BLUE
Tft.drawChar('E',20,40,3,GREEN); // draw char: 'E', (20, 40), size: 3, color: GREEN
Tft.drawChar('E',30,80,4,YELLOW); // draw char: 'E', (30, 80), size: 4, color: YELLOW
Tft.drawChar('D',40,120,4,YELLOW); // draw char: 'D', (40, 120), size: 4, color: YELLOW
Tft.drawString("Hello",0,180,3,CYAN); // draw string: "hello", (0, 180), size: 3, color: CYAN
Tft.drawString("World!!",60,220,4,WHITE); // draw string: "world!!", (80, 230), size: 4, color: WHITE
}
void loop()
{
}