Added reset
This commit is contained in:
@@ -19,7 +19,7 @@ Adafruit_ST7796S_kbv tft = Adafruit_ST7796S_kbv(TFT_CS, TFT_DC, MOSI, SCK, TFT_R
|
|||||||
void setup() {
|
void setup() {
|
||||||
tft.begin(); // Initialize the display
|
tft.begin(); // Initialize the display
|
||||||
tft.setRotation(3); // Set the rotation to horizontal
|
tft.setRotation(3); // Set the rotation to horizontal
|
||||||
|
tft.fillScreen(ST7796S_BLACK);
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
|
Reference in New Issue
Block a user