I replaced the TFT_eSPI library from Bodmer with one frrom Maxwelltoo and changed the User_Setup_Select.h file, but the examples fail to compile. They will compile with the Bodmer library, but the display does not work properly - I presume because there is no setup file for the Round Display.
When the program failed to compile, I saw warnings but did not see the error that caused it to fail.
Not sure what changed but the program now compiles. The warnings are the same. I can’t execute the program because of the SD card failure, so I can’t tell if the TOUCH_CS pin warning would cause a problem.
C:\Users\ralph\OneDrive\Documents\Arduino\libraries\TFT_eSPI-master/TFT_eSPI.h:970:8: warning: #warning >>>>------>> TOUCH_CS pin not defined, TFT_eSPI touch functions will not be available! [-Wcpp] #warning >>>>------>> TOUCH_CS pin not defined, TFT_eSPI touch functions will not be available!
^~~~~~~
C:\Users\ralph\OneDrive\Documents\Arduino\Xiao_ESP32S3_round_display_take_picture\Xiao_ESP32S3_round_display_take_picture.ino: In function ‘void setup()’:
C:\Users\ralph\OneDrive\Documents\Arduino\Xiao_ESP32S3_round_display_take_picture\Xiao_ESP32S3_round_display_take_picture.ino:73:10: warning: ‘camera_config_t::::pin_sscb_sda’ is deprecated: please use pin_sccb_sda instead [-Wdeprecated-declarations]
config.pin_sscb_sda = SIOD_GPIO_NUM;
^~~~~~~~~~~~
In file included from C:\Users\ralph\OneDrive\Documents\Arduino\Xiao_ESP32S3_round_display_take_picture\Xiao_ESP32S3_round_display_take_picture.ino:4:
C:\Users\ralph\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.9/tools/sdk/esp32s3/include/esp32-camera/driver/include/esp_camera.h:117:87: note: declared here
int pin_sscb_sda attribute((deprecated(“please use pin_sccb_sda instead”))); /*!< GPIO pin for camera SDA line (legacy name) /
^
C:\Users\ralph\OneDrive\Documents\Arduino\Xiao_ESP32S3_round_display_take_picture\Xiao_ESP32S3_round_display_take_picture.ino:73:10: warning: ‘camera_config_t::::pin_sscb_sda’ is deprecated: please use pin_sccb_sda instead [-Wdeprecated-declarations]
config.pin_sscb_sda = SIOD_GPIO_NUM;
^~~~~~~~~~~~
In file included from C:\Users\ralph\OneDrive\Documents\Arduino\Xiao_ESP32S3_round_display_take_picture\Xiao_ESP32S3_round_display_take_picture.ino:4:
C:\Users\ralph\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.9/tools/sdk/esp32s3/include/esp32-camera/driver/include/esp_camera.h:117:87: note: declared here
int pin_sscb_sda attribute((deprecated(“please use pin_sccb_sda instead”))); /!< GPIO pin for camera SDA line (legacy name) /
^
C:\Users\ralph\OneDrive\Documents\Arduino\Xiao_ESP32S3_round_display_take_picture\Xiao_ESP32S3_round_display_take_picture.ino:73:10: warning: ‘camera_config_t::::pin_sscb_sda’ is deprecated: please use pin_sccb_sda instead [-Wdeprecated-declarations]
config.pin_sscb_sda = SIOD_GPIO_NUM;
^~~~~~~~~~~~
In file included from C:\Users\ralph\OneDrive\Documents\Arduino\Xiao_ESP32S3_round_display_take_picture\Xiao_ESP32S3_round_display_take_picture.ino:4:
C:\Users\ralph\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.9/tools/sdk/esp32s3/include/esp32-camera/driver/include/esp_camera.h:117:87: note: declared here
int pin_sscb_sda attribute((deprecated(“please use pin_sccb_sda instead”))); /!< GPIO pin for camera SDA line (legacy name) /
^
C:\Users\ralph\OneDrive\Documents\Arduino\Xiao_ESP32S3_round_display_take_picture\Xiao_ESP32S3_round_display_take_picture.ino:74:10: warning: ‘camera_config_t::::pin_sscb_scl’ is deprecated: please use pin_sccb_scl instead [-Wdeprecated-declarations]
config.pin_sscb_scl = SIOC_GPIO_NUM;
^~~~~~~~~~~~
In file included from C:\Users\ralph\OneDrive\Documents\Arduino\Xiao_ESP32S3_round_display_take_picture\Xiao_ESP32S3_round_display_take_picture.ino:4:
C:\Users\ralph\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.9/tools/sdk/esp32s3/include/esp32-camera/driver/include/esp_camera.h:121:87: note: declared here
int pin_sscb_scl attribute((deprecated(“please use pin_sccb_scl instead”))); /!< GPIO pin for camera SCL line (legacy name) /
^
C:\Users\ralph\OneDrive\Documents\Arduino\Xiao_ESP32S3_round_display_take_picture\Xiao_ESP32S3_round_display_take_picture.ino:74:10: warning: ‘camera_config_t::::pin_sscb_scl’ is deprecated: please use pin_sccb_scl instead [-Wdeprecated-declarations]
config.pin_sscb_scl = SIOC_GPIO_NUM;
^~~~~~~~~~~~
In file included from C:\Users\ralph\OneDrive\Documents\Arduino\Xiao_ESP32S3_round_display_take_picture\Xiao_ESP32S3_round_display_take_picture.ino:4:
C:\Users\ralph\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.9/tools/sdk/esp32s3/include/esp32-camera/driver/include/esp_camera.h:121:87: note: declared here
int pin_sscb_scl attribute((deprecated(“please use pin_sccb_scl instead”))); /!< GPIO pin for camera SCL line (legacy name) /
^
C:\Users\ralph\OneDrive\Documents\Arduino\Xiao_ESP32S3_round_display_take_picture\Xiao_ESP32S3_round_display_take_picture.ino:74:10: warning: ‘camera_config_t::::pin_sscb_scl’ is deprecated: please use pin_sccb_scl instead [-Wdeprecated-declarations]
config.pin_sscb_scl = SIOC_GPIO_NUM;
^~~~~~~~~~~~
In file included from C:\Users\ralph\OneDrive\Documents\Arduino\Xiao_ESP32S3_round_display_take_picture\Xiao_ESP32S3_round_display_take_picture.ino:4:
C:\Users\ralph\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.9/tools/sdk/esp32s3/include/esp32-camera/driver/include/esp_camera.h:121:87: note: declared here
int pin_sscb_scl attribute((deprecated(“please use pin_sccb_scl instead”))); /!< GPIO pin for camera SCL line (legacy name) */