fix ESP32-cam

This commit is contained in:
Valerio Vaccaro 2023-12-04 22:31:51 +01:00
parent f9bcd2b11c
commit 188b81c85c
2 changed files with 5 additions and 2 deletions

View File

@ -4,7 +4,7 @@
#define PIN_BUTTON_1 0 #define PIN_BUTTON_1 0
#define LED_PIN 33 #define LED_PIN 33
#define DONGLE_DISPLAY // NO_DISPLAY #define NO_DISPLAY
// example how to configure SD card. // example how to configure SD card.
// if you would define everything, // if you would define everything,

View File

@ -27,7 +27,10 @@
#include <SPI.h> #include <SPI.h>
#include <SD.h> #include <SD.h>
#if !defined(NO_DISPLAY)
#include "..\lib\TFT_eSPI\User_Setup_Select.h" #include "..\lib\TFT_eSPI\User_Setup_Select.h"
#endif
#if !defined(NO_DISPLAY) && !defined(LED_DISPLAY) #if !defined(NO_DISPLAY) && !defined(LED_DISPLAY)
#if !defined(SDSPI_CLK) && defined(TFT_CLK) #if !defined(SDSPI_CLK) && defined(TFT_CLK)