Skip to content

Commit

Permalink
config
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesgiguere committed May 16, 2023
1 parent 4e8e304 commit 621e5e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ESP32LCDRound240x240Eyes.ino
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

// DMA can be used with RP2040, STM32 and ESP32 processors when the interface
// is SPI, uncomment the next line:
#define USE_DMA
// #define USE_DMA

// Load TFT driver library
#include <SPI.h>
Expand Down
12 changes: 6 additions & 6 deletions config.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@
// #include "data/doeEye.h" // Cartoon deer eye (DISABLE TRACKING)

// DISPLAY HARDWARE SETTINGS (screen type & connections) -------------------
#define TFT_COUNT 1 // Number of screens (1 or 2)
#define TFT1_CS -1 // TFT 1 chip select pin (set to -1 to use TFT_eSPI setup)
#define TFT2_CS -1 // TFT 2 chip select pin (set to -1 to use TFT_eSPI setup)
#define TFT_COUNT 2 // Number of screens (1 or 2)
#define TFT1_CS 15 // TFT 1 chip select pin (set to -1 to use TFT_eSPI setup)
#define TFT2_CS 14 // TFT 2 chip select pin (set to -1 to use TFT_eSPI setup)
#define TFT_1_ROT 2 // TFT 1 rotation
#define TFT_2_ROT 2 // TFT 2 rotation
#define TFT_2_ROT 0 // TFT 2 rotation
#define EYE_1_XPOSITION 50 // x shift for eye 1 image on display
#define EYE_2_XPOSITION 320 - 128 // x shift for eye 2 image on display
#define EYE_2_XPOSITION 50 // x shift for eye 2 image on display

#define DISPLAY_BACKLIGHT -1 // Pin for backlight control (-1 for none)
#define BACKLIGHT_MAX 255

// EYE LIST ----------------------------------------------------------------
#define NUM_EYES 1 // Number of eyes to display (1 or 2)
#define NUM_EYES 2 // Number of eyes to display (1 or 2)

#define BLINK_PIN -1 // Pin for manual blink button (BOTH eyes)
#define LH_WINK_PIN -1 // Left wink pin (set to -1 for no pin)
Expand Down

0 comments on commit 621e5e8

Please sign in to comment.