-
Hi, Anybody found a way to make any of those demos compile on a JC4827W543C yet? If did, explaining how would be appreciated! (and would be good to have stored here on the repo anyway) Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 4 replies
-
which demo do not compile ? did you try helloworld ? did you copy the libraries from the libraries folder to your IDE libraries folder ? can you link a failed compile log ? |
Beta Was this translation helpful? Give feedback.
-
Hi, Thanks for replying so promptly. All the libraries are installed (lvgl is 8.4.0). Is the lv_config.h from each specific demo supposed to be copied to the main Arduino libs dir? (So that when compiling a different demo, copy and paste that specific demo's lv_conf.h to the main Arduino lib?) An example compilation error log from the LvglWdigets demo: exit status 1 Compilation error: 'Arduino_ESP32RGBPanel' does not name a type; did you mean 'Arduino_ESP32S2PAR8Q'? // |
Beta Was this translation helpful? Give feedback.
-
PS: Note that it's the JC4827W543_C (capacitive touch variant) |
Beta Was this translation helpful? Give feedback.
-
Update: Modified some things and copied that demo's specific lv_config.h to the main Arduino lib dir and the compile errors log is: exit status 1 Compilation error: exit status 1 |
Beta Was this translation helpful? Give feedback.
-
Found out that the seller had sent the wrong files originally, as they were for another board. So that was part of the issues originally. A basic print loop did compile and was uploaded to that board, but that is not why I got a touchscreen ESP32 board. |
Beta Was this translation helpful? Give feedback.
-
start from scratch. close the IDE empty your %TEMP% folder. copy the whole libraries folder from this repo to the ide appropriate folder (make sure to delete any previous existing libraries which may conflict) get this library https://github.com/mmMicky/TouchLib download as zip, extract into libraries folder, remove "-main" from folder name.. copy lv_conf from "3_3-3_TFT-LVGL-Widgets\LVGL configuration replacement file" to your libraries folder (yes use each conf from each demo, in case its different) open LvglWidgets.ino select as board ESP32S3 Dev Module Compile. please dont paste output here, link from something like pastebin, or upload as text file. |
Beta Was this translation helpful? Give feedback.
-
By the way, the factory recommended lvgl 8.3.0, although I compiled with 8.4.0. The demos are upside down though and the Widgets demo's touch gestures were backwards seemingly. Had expected the Widgets demo to be the one it shipped with, but it's sadly a lower quality demo. Happen to know where the original demo it shipped with (a bunch of icons linked to other demos) is in those Arduino demo files? Thanks in advance and thanks again for explaining. |
Beta Was this translation helpful? Give feedback.
-
I reside in china (not chinese) and that factory is kinda near here. Anyway, talked to the factory and they said that the template it shipped with is from: That is apparently the tool they made for making GUI interfaces for use with those products. Tried flashing it with the template on that page, but that made the screen go black on that board, although thankfully Arduino restored the other demos. |
Beta Was this translation helpful? Give feedback.
-
ah yeah I've seen talks about that development platform they have. might wanna join Brian Lough discord there's a few users talking about these boards |
Beta Was this translation helpful? Give feedback.
-
Thanks! Apparently that platform had a compile error so it uploaded a blank seemingly. On the bright side, re-flashed the lvgl Widgets demo and now it looks like the standard non-inverted style lvgl demo that ran on those Sunton boards before. So that is a step in the right direction. I've mainly made native Apple platform iOS/iPadOS/OSX/macOS apps and Unity apps before, but Apple sadly has had an app store monopoly and I want to port an iPad app I made to this platform. Recommend any open source apps with a nice GUI to load on it and modify for learning how to? General plan was to use Squareline to make the GUI and Arduino to add the functionality. Hope that is a relatively easy workflow. |
Beta Was this translation helpful? Give feedback.
-
Thanks again for assisting to get that compiling. Feels like a smaller first step than I had hoped, but it's a step toward that goal of circumventing Apple's illegal app store monopoly. |
Beta Was this translation helpful? Give feedback.
start from scratch.
close the IDE
empty your %TEMP% folder.
copy the whole libraries folder from this repo to the ide appropriate folder (make sure to delete any previous existing libraries which may conflict)
get this library
https://github.com/mmMicky/TouchLib
download as zip, extract into libraries folder, remove "-main" from folder name..
copy lv_conf from "3_3-3_TFT-LVGL-Widgets\LVGL configuration replacement file" to your libraries folder
(yes use each conf from each demo, in case its different)
open LvglWidgets.ino
select as board ESP32S3 Dev Module
Compile.
please dont paste output here, link from something like pastebin, or upload as text file.