pushdeer/iot/screen/screen.ino

20 lines
301 B
Arduino
Raw Normal View History

2022-04-05 20:00:26 +08:00
#include <TFT_eSPI.h>
TFT_eSPI tft = TFT_eSPI();
void setup() {
Serial.begin(115200);
Serial.print("hello world\n");
// Set up LCD
tft.begin();
tft.fillScreen(TFT_BLUE);
pinMode(19, OUTPUT);
digitalWrite(19, HIGH);
}
void loop() {
// put your main code here, to run repeatedly:
}