Skip to content

Commit 7f1493f

Browse files
committed
Adding examples for the EYESPI BFF
Adding CP and Arduino example code for the EYESPI BFF. Both use the 1.54" 240x240 display.
1 parent 035a677 commit 7f1493f

File tree

4 files changed

+1004
-4
lines changed

4 files changed

+1004
-4
lines changed

EYESPI/Arduino/Color/EYESPI_Test/EYESPI_Test.ino

Lines changed: 4 additions & 4 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 5393
23+
#define SCREEN_PRODUCT_ID 3787
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 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
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
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

EYESPI_BFF/Arduino_EYESPI_BFF/Arduino_EYESPI_BFF_Example/.qt_py_rp2040.test.only

Whitespace-only changes.

0 commit comments

Comments
 (0)