Giter Site home page Giter Site logo

Comments (6)

sukesh-ak avatar sukesh-ak commented on June 15, 2024

@ammaree
For WROVER_KIT, create a file called conf_wrover_kit.h in the main folder and with below content. Then reference it in the main.cpp

LovyanGFX should autodetect the board LCD with this.

// filename 'conf_wrover_kit.h'

#define LGFX_ESP_WROVER_KIT        // ESP-WROVER-KIT

// Portrait
#define TFT_WIDTH   320
#define TFT_HEIGHT  240

#define TOUCH_ENABLED
#define SD_ENABLED

#include <LovyanGFX.h>
#include <LGFX_AUTODETECT.hpp>

Please keep in mind, I don't have these boards so its untested.
For SD card using shared SPI bus, you should check the file inside main folder called helper_storage.hpp

from esp32-lvgl8x-sdspi.

ammaree avatar ammaree commented on June 15, 2024

@sukesh-ak

Just remember the ESP-WROVER-KIT does not have any touch.

As far as SD is concerned have not used up to now, believe there might be hardware/pins conflict between LCD and SDcard?

from esp32-lvgl8x-sdspi.

sukesh-ak avatar sukesh-ak commented on June 15, 2024

@sukesh-ak

Just remember the ESP-WROVER-KIT does not have any touch.

As far as SD is concerned have not used up to now, believe there might be hardware/pins conflict between LCD and SDcard?

SD card works with LCD with shared SPI using a different CS PIN for both.

You can see an example here.
https://github.com/sukesh-ak/ESP32-LVGL8x-SDSPI/blob/master/main/conf_FeatherS3_ILI9341.h

from esp32-lvgl8x-sdspi.

sukesh-ak avatar sukesh-ak commented on June 15, 2024

I worked with @lovyan03 to fix a bug related to shared SPI bus earlier. So it works.
lovyan03/LovyanGFX#248

from esp32-lvgl8x-sdspi.

sukesh-ak avatar sukesh-ak commented on June 15, 2024

@ammaree
I have added a request for Makerfabs ESP32-S3.
lovyan03/LovyanGFX#285

If this is done, it will be easy like above without much configuration.
Sorry, I don't have a device to try and test it.

You can manually configure looking at this sample
https://github.com/lovyan03/LovyanGFX/blob/master/examples/HowToUse/2_user_setting/2_user_setting.ino

Datasheet for the device is here
https://github.com/Makerfabs/Makerfabs-ESP32-S3-Parallel-TFT-with-Touch/blob/main/hardware/ESP32-S3%20Parallel%20TFT%20with%20Touch%20v1.0(3.5''%20ili9488).pdf

from esp32-lvgl8x-sdspi.

ammaree avatar ammaree commented on June 15, 2024

Thanks

from esp32-lvgl8x-sdspi.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.