Giter Site home page Giter Site logo

Comments (6)

fvanroie avatar fvanroie commented on June 11, 2024 2

I believe it is "GFX Library for Arduino" instead of Adafruit GFX.

from openhasp.

fvanroie avatar fvanroie commented on June 11, 2024

This is a different device, so needs a different config. I don't own this device, so any help will be appreciated.

from openhasp.

ohlolol avatar ohlolol commented on June 11, 2024

Hey, what can i provide to support? i got the lvgl Widgets demo finally running including working touch driver. The screen itself uses arduino_GFX Library and the touch is using touchLib with GT911 driver.

This part init's the screen:

#define GFX_BL 1
Arduino_DataBus *bus = new Arduino_ESP32QSPI(
    45 /* cs */, 47 /* sck */, 21 /* d0 */, 48 /* d1 */, 40 /* d2 */, 39 /* d3 */);
Arduino_GFX *g = new Arduino_NV3041A(bus, GFX_NOT_DEFINED /* RST */,  2 /* rotation */, true /* IPS */);
Arduino_GFX *gfx = new Arduino_Canvas(480 /* width */, 272 /* height */, g);

and this is from the touch init:

`#define TOUCH_MODULES_GT911 // GT911 / CST_SELF / CST_MUTUAL / ZTW622 / L58 / FT3267 / FT5x06
 #define TOUCH_MODULE_ADDR GT911_SLAVE_ADDRESS1 // CTS328_SLAVE_ADDRESS / L58_SLAVE_ADDRESS / CTS826_SLAVE_ADDRESS / CTS820_SLAVE_ADDRESS / CTS816S_SLAVE_ADDRESS / FT3267_SLAVE_ADDRESS / FT5x06_ADDR / GT911_SLAVE_ADDRESS1 / GT911_SLAVE_ADDRESS2 / ZTW622_SLAVE1_ADDRESS / ZTW622_SLAVE2_ADDRESS
 #define TOUCH_SCL 4
 #define TOUCH_SDA 8
 #define TOUCH_RES 38
 #define TOUCH_INT 3

#elif defined(TOUCH_MODULE_ADDR) // TouchLib
#include <Wire.h>
#include <TouchLib.h>
TouchLib touch(Wire, TOUCH_SDA, TOUCH_SCL, TOUCH_MODULE_ADDR);
`

i attach the working skech. let me know how i can support you :)

regards
LvglWidgets.zip

from openhasp.

saeugetier avatar saeugetier commented on June 11, 2024

There is some information in a GitHub repository: https://github.com/profi-max/JC4827W543_4.3inch_ESP32S3_board

The display driver is an NV3041A-compatible 4-bit display driver. This driver is currently not available in TFT_eSPI. Adaftruit_GFX is required, which is also available in openHASP.

I have found a request to support the NV3041A in TFT_eSPI. I supplied additional information to the TFT_eSPI maintainer: Bodmer/TFT_eSPI#2579 (reply in thread)

Maybe TFT_eSPI will get support for the N3041A in the future, so openHASP can support this display through TFT-eSPI.

By the way, I ordered the JC4827W543 because it seems to have better LiPo battery support. The Sunton displays don't have low-quiescent linear power regulators. So putting the ESP32-S3 into deep sleep mode will still drain the battery very quickly. Hopefully, with the Guition JC4827W543, a low-power display can be realized which can keep running from a battery for some weeks (dependent on how frequently it will be used).

from openhasp.

saeugetier avatar saeugetier commented on June 11, 2024

Support of Adafruit_GFX doesn't seem to be up to date. Is adafruit_gfx still supported?

from openhasp.

saeugetier avatar saeugetier commented on June 11, 2024

Adafruit_GFX is not usable for the ESP32. So TFT-eSPI is a must.

from openhasp.

Related Issues (20)

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.