Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use the SD Card and display at the same time #14

Closed
technoblogy opened this issue Sep 28, 2023 · 1 comment
Closed

Unable to use the SD Card and display at the same time #14

technoblogy opened this issue Sep 28, 2023 · 1 comment

Comments

@technoblogy
Copy link

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?

@technoblogy
Copy link
Author

With help from @nanomonkey I have now solved this problem.

Fixed project incorporating this code is here: https://github.com/technoblogy/ulisp-tdeck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant