7.0" -HMI ESP32 Display
Hi im new to the esp32 hmi screen i recently buy the 7 inch model but i cant make it work. seems like the code dont work on the arduino ide. when i verified the code this error appeared.
"C:\Users\bomba\Documents\Arduino\LvglWidgets-LVGL-7.0\LvglWidgets-LVGL-7.0.ino:2:10: fatal error: demos/lv_demos.h: No such file or directory
#include <demos/lv_demos.h>
compilation terminated.
exit status 1
Compilation error: demos/lv_demos.h: No such file or directory"
pic1: https://ibb.co/r2C2Fpd screenshot of code.
pic2: https://ibb.co/55kZsk1 screen of code im using
i found the code here in the bottom of this page
why im using this files is because they say to use this "Arduino Libraries&LVGL Widgets Demo"
pic readme: https://ibb.co/NKJNpHP
https://wiki.elecrow.com/index.php?title=ESP32_Display_7.0-inch_HMI_Arduino_Tutorial
"Arduino Libraries&LVGL Widgets Demo"
the card im using:
https://www.elecrow.com/esp32-display-7-inch-hmi-display-rgb-tft-lcd-touch-screen-support-lvgl.html
Comments
Hi, please copy the libraries from the Arduino_7inch you downloaded to the Arduino installation directory. If you don't know the path to the Arduino library directory, you can open Arduino IDE→Files→Preferences. Sketchbook location is where we store the libraries.
libraries :https://ibb.co/0C3YHpM
i think its not complete
still got the same problem:https://ibb.co/1njwD3h
so i resolve the error. the library "Adafruit_GFX_Library" that come in the folder "Arduino_7inch" is the problem i replaced it by the library "Arduino_GFX" that come in the "Arduino_5inch" folder. hope it will help some. i spend 1 week on this.
You right but the library "Adafruit_GFX_Library" that come in the folder is the problem i replaced by the same libray that come in the 5 inch folder it work just fine. thank you