Дисплей - ST7735 TFT 128x128

Отображение информации на дисплее ST7735 128x128
 #include <SPI.h>
 #include <Adafruit_GFX.h>
 #include <Adafruit_ST7735.h>
 Adafruit_ST7735 tft1=Adafruit_ST7735(10,9,8);
 int x = 1000;

void setup() {
     tft1.initR(INITR_REDTAB);
     tft1.setRotation(2);
     tft1.fillScreen(ST7735_BLACK);
     tft1.setCursor(10, 10);
     tft1.setTextColor(ST7735_RED,0);
     tft1.setTextSize(1);
     tft1.println("ArduBlock EN");
     tft1.setCursor(10, 23);
     tft1.setTextColor(ST7735_GREEN,0);
     tft1.setTextSize(2);
     tft1.println("ArduBlock");
     tft1.setCursor(10, 43);
     tft1.setTextColor(ST7735_BLUE,0);
     tft1.setTextSize(3);
     tft1.println("Ardu");
}

void loop() {
         tft1.setCursor(10, 73);
         tft1.setTextColor(ST7735_WHITE,0);
         tft1.setTextSize(3);
         tft1.println(x);
         delay(300);
         tft1.setCursor(10, 73);
         tft1.setTextColor(ST7735_BLACK,0);
         tft1.setTextSize(3);
         tft1.println(x);
      x = x - 1;
} 

Открыть пример: Online ArduBlock



Видеоурок:

Компоненты с Aliexpress:

Arduino Uno

Макетная плата

TFT 128x128 SPI

Дип кабель