CrowPanel 7" Display DIS08070H will not compile Demo Lessons 4, 5 or 6

Hello,
I'm having difficulties compiling the demo lesson #6, CrowPanel_ESP32_LVGL_Demo. The truncated IDE error message is:

/Arduino/CrowPanel_ESP32_LVGL_Demo/CrowPanel_ESP32_LVGL_Demo.ino: In function 'void setup()':
/CrowPanel_ESP32_LVGL_Demo.ino:95:7: error: 'class PCA9557' has no member named 'reset'
Out.reset();
^~~~~
CrowPanel_ESP32_LVGL_Demo.ino:96:7: error: 'class PCA9557' has no member named 'setMode'; did you mean 'pinMode'?
Out.setMode(IO_OUTPUT);

  • additional compile errors pointing to PCA9557 -

The Arduino IDE is setup with the following.
Using board 'esp32s3' esp32/2.0.15
Using core 'esp32' esp32/2.0.15
LVGL 8.3.11
TFT_eSPI 2.5.0
Lovyangfx 1.1.8
PCA9557-arduino 1.0.0
SPI 2.0.0
Wire 2.0.0

Using CrowPanel 7" display DIS08070H V3.0

Any help you could provide would be greatly appreciated.

Comments

  • Found the issue. You must use Elecrow PCA9557 file provided.

  • Hi,
    Could you get any of the demo code working ? Maybe the GIU or Drawing board Demo ?
    Even after the solution you discovered, I still get errors during compile..
    May I request you to send any of the demo code (not your main code) working for you?
    It will be most helpful in finding out whee I'm going wrong.
    Thank you!

  • roycejp,
    I'll try to help you out. In the "CrowPanel_ESP32_Tutorial" files I'm using the examples found in folder "7.0 v3.0 touch new code". This is because my display is a version v3.0. If you're using a different version, this won't work.
    Let's focus on example 4, "crowpanel-esp32-7.0-3.0-touch" found under folder "4". When you compile the code using Arduino IDE, what specific errors are you receiving?
    RIck

  • Hi,
    Thanks a lot for replying.
    I have created a new discussion for my issues.
    I have posted my results for (new) lesson 4 there.
    Can you please check out my update there?
    Thank you!

  • I tried to link the discussion, but it seems i'm not allowed to do that.
    The discussion is:
    "Strange Error when compiling Lesson 4 (Drawing board) 7 inch V3.0"
    Its around the 10th from the top.

  • BTW did you use the old lessons with the new library, or the new lessons ?
    I would be happy if I could just get the simpler old lessons working.

  • Can you just help me to get lesson 2 (Draw.ino) working ?
    My version is 3.0
    I'm already using the new libraries provided.
    Thank you!

Sign In or Register to comment.