Hello!
I am using T3.6 and ILI9341 display (SPI). my project must have a multilingual interface: English, Russian and Ukrainian.
Can you please tell me how can I modify the Arduino environment and my sketch to display multiple languages at the same time?
I am using T3.6 and ILI9341 display (SPI). my project must have a multilingual interface: English, Russian and Ukrainian.
Can you please tell me how can I modify the Arduino environment and my sketch to display multiple languages at the same time?
Code:
#include "SPI.h"
#include "LoRa.h"
#include "ILI9341_t3.h"
// For the Adafruit shield, these are the default.
#define TFT_DC 9
#define TFT_CS 10
// Use hardware SPI (on Uno, #13, #12, #11) and the above for CS/DC
ILI9341_t3 tft = ILI9341_t3(TFT_CS, TFT_DC);
void setup()
{
tft.begin();
tft.setRotation(2);
tft.fillScreen(ILI9341_BLACK);
tft.setTextColor(ILI9341_YELLOW);
tft.setCursor(0, 0);
tft.setTextSize(2);
tft.println("Hello Word");
tft.println("Здравствуй Мир");// Rusian text
}
void loop() {
// put your main code here, to run repeatedly:
}