Comments (6)
I believe it is "GFX Library for Arduino" instead of Adafruit GFX.
from openhasp.
This is a different device, so needs a different config. I don't own this device, so any help will be appreciated.
from openhasp.
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.
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.
Support of Adafruit_GFX doesn't seem to be up to date. Is adafruit_gfx still supported?
from openhasp.
Adafruit_GFX is not usable for the ESP32. So TFT-eSPI is a must.
from openhasp.
Related Issues (20)
- display does not use manual Node Topic HOT 6
- lv_img_set_src(MyImage, "http://.." black screen HOT 5
- Sunton ESP-32-8048S070 Backlight dimming is not working HOT 9
- Custom Group Topic name does not work HOT 12
- parentid dont work HOT 5
- Sometimes display wakeup randomly HOT 13
- opneHASP support for Pyportal HOT 3
- Wrong colors in screenshot HOT 9
- mqtt control HOT 2
- Cannot style LED color HOT 3
- Add support for SD card e.g. Sunton 7" HOT 5
- undefined reference to `mqttNodeTopic' HOT 2
- Makerfabs ESP32-S3 WROOM1 3,5 TFT SPI is not supported HOT 8
- Sensor value to use in pages.json
- Unable to build full version 7.0 HOT 4
- Why ‘openHASP\src\my_custom.cpp’ not work HOT 1
- File handling commands HOT 12
- sunton 2432S028R displays artifacts HOT 2
- unable to modify settings via MQTT
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openhasp.