欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136

標題: "Hello World" for ILI9341 LCD Arduino代碼 [打印本頁]

作者: EdwardGU123    時間: 2023-1-1 17:59
標題: "Hello World" for ILI9341 LCD Arduino代碼
/*
  Simple "Hello World" for ILI9341 LCD
*/

#include "SPI.h"
#include "Adafruit_GFX.h"
#include "Adafruit_ILI9341.h"

#define TFT_DC 9
#define TFT_CS 10
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);

void setup() {
  tft.begin();

  tft.setCursor(26, 120);
  tft.setTextColor(ILI9341_RED);
  tft.setTextSize(3);
  tft.println("Hello, TFT!");

  tft.setCursor(20, 160);
  tft.setTextColor(ILI9341_GREEN);
  tft.setTextSize(2);
  tft.println("I can has colors?");

  // Meme reference:
}

void loop() { }


作者: 3333kkkk    時間: 2023-1-8 11:35
這些頭文件哪里獲取呢




歡迎光臨 (http://www.raoushi.com/bbs/) Powered by Discuz! X3.1