Skip to content

Commit c04d5b9

Browse files
committed
Update EYESPI_Test.ino
1 parent e2101a4 commit c04d5b9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

EYESPI/Arduino/Color/EYESPI_Test/EYESPI_Test.ino

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@
2020
// CONSTANTS, HEADERS and GLOBAL VARIABLES ---------------------------------
2121

2222
// *** EDIT THIS VALUE TO MATCH THE ADAFRUIT PRODUCT ID FOR YOUR DISPLAY: ***
23-
#define SCREEN_PRODUCT_ID 3787
23+
#define SCREEN_PRODUCT_ID 5393
2424
// You can find the product ID several ways:
2525
// - "PID" accompanies each line-item on your receipt or order details page.
2626
// - Visit adafruit.com and search for EYESPI displays. On product pages,
2727
// PID is shown just below product title, and is at the end of URLs.
2828
// - Check the comments in setup() later that reference various screens.
2929

3030
// **** EDIT PINS TO MATCH YOUR WIRING ****
31-
#define TFT_CS PIN_SERIAL2_TX // To display chip-select pin
32-
#define TFT_RST -1 // To display reset pin
33-
#define TFT_DC PIN_SERIAL2_RX // To display data/command pin
31+
#define TFT_CS 10 // To display chip-select pin
32+
#define TFT_RST 9 // To display reset pin
33+
#define TFT_DC 8 // To display data/command pin
3434
// For the remaining pins, this code assumes display is wired to hardware SPI
3535
// on the dev board's primary SPI interface. The display libraries can support
3636
// secondary SPI (if present) or bitbang (software) SPI, but that's not
@@ -671,4 +671,4 @@ void show_canvas() {
671671

672672
// Because canvas object was declared locally to this function, it's freed
673673
// automatically when the function returns; no explicit delete needed.
674-
} // END CANVAS EXAMPLE
674+
} // END CANVAS EXAMPLE

0 commit comments

Comments
 (0)