Skip to content

Commit

Permalink
updated comment (no functional change)
Browse files Browse the repository at this point in the history
  • Loading branch information
barry-ha committed Jan 18, 2024
1 parent 2584935 commit 428153d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/TFT_Touchscreen_Demo/TFT_Touchscreen_Demo.ino
Expand Up @@ -54,6 +54,9 @@
// create an instance of the TFT Display
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);

// ---------- Touch Screen
Resistive_Touch_Screen tsn(PIN_XP, PIN_YP, PIN_XM, PIN_YM, XP_XM_OHMS);

// ------------ definitions
const int howLongToWait = 6; // max number of seconds at startup waiting for Serial port to console

Expand All @@ -75,9 +78,6 @@ void waitForSerial(int howLong) {
}
}

// ---------- Touch Screen
Resistive_Touch_Screen tsn(PIN_XP, PIN_YP, PIN_XM, PIN_YM, XP_XM_OHMS);

// ========== splash screen helpers ============================
// splash screen layout
// When using default system fonts, screen pixel coordinates will identify top left of character cell
Expand Down Expand Up @@ -145,7 +145,7 @@ void setup() {

// ----- init TFT backlight
pinMode(TFT_BL, OUTPUT);
analogWrite(TFT_BL, 255); // start at full brightness
analogWrite(TFT_BL, 255); // set backlight to full brightness

// ----- init TFT display
tft.begin(); // initialize TFT display
Expand Down

0 comments on commit 428153d

Please sign in to comment.