Closed technoblogy closed 1 year ago
I have a T-Deck working nicely with the display, using the GFX Library for Arduino by Moon On Our Nation.
I have also got the T-Deck working with the SD Card interface, using the SD library in the ESP32 core, by adding the definition:
#define SDCARD_SS_PIN 39
and changing the SPI definitions in the file:
/Users/david/Library/Arduino15/packages/esp32/hardware/esp32/2.0.12/variants/esp32s3/pins_arduino.h
to:
static const uint8_t SS = 39; static const uint8_t MOSI = 41; static const uint8_t MISO = 38; static const uint8_t SCK = 40;
However, when I use the SD Card the display stops working.
Can anyone provide sample code showing how to use the display and SD Card interface at the same time?
With help from @nanomonkey I have now solved this problem.
Fixed project incorporating this code is here: https://github.com/technoblogy/ulisp-tdeck
I have a T-Deck working nicely with the display, using the GFX Library for Arduino by Moon On Our Nation.
I have also got the T-Deck working with the SD Card interface, using the SD library in the ESP32 core, by adding the definition:
and changing the SPI definitions in the file:
/Users/david/Library/Arduino15/packages/esp32/hardware/esp32/2.0.12/variants/esp32s3/pins_arduino.h
to:
However, when I use the SD Card the display stops working.
Can anyone provide sample code showing how to use the display and SD Card interface at the same time?