mirror of
https://github.com/easychen/pushdeer.git
synced 2024-11-01 16:19:19 +08:00
20 lines
301 B
C++
20 lines
301 B
C++
#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:
|
|
}
|