Strange Error when compiling Lesson 4 (Drawing board) 7 inch V3.0

Hi
I copied the provided PCA9557 file into the Libraries folder.
Now i get this error (7" v3.0):-
.......\libraries\LovyanGFX\src\lgfx\v1\platforms\esp32s3\Bus_RGB.cpp: In function 'void lgfx::v1::_gpio_pin_sig(uint32_t, uint32_t)':
d:\OneDrive\ESP32\libraries\LovyanGFX\src\lgfx\v1\platforms\esp32s3\Bus_RGB.cpp:98:5: error: 'gpio_hal_iomux_func_sel' was not declared in this scope; did you mean 'gpio_hal_func_sel'?
98 | gpio_hal_iomux_func_sel(GPIO_PIN_MUX_REG[pin], PIN_FUNC_GPIO);
| ^~~~~~~
| gpio_hal_func_sel
exit status 1
Compilation error: exit status 1
Please tell what I need to do.

«1

Comments

  • I tried various things (replacing the gfx_conf.h with the 'new' version, installing GT911 libraries etc..) but each time I get a new error about some file not found ..
    I'm stuck. Please help.

  • Please, can someone send me a working example (just one of the demo codes) working on the 7" HMI ? Thank you!

  • Is anyone from Elecrow support reading this forum?

  • Dear roycejp,
    Sorry for the late reply.
    May I ask if you are using the library files we provided? If not, please try these instead: :

    https://www.elecrow.com/download/product/CrowPanel/ESP32-HMI/7.0-DIS08070H/Arduino_Tutorial/libraries.zip

    also, here thers is the method about how to use them :. you can refer to if you need .

    https://www.elecrow.com/wiki/ESP32_Display_7.0-inch_HMI_Arduino_Tutorial.html#install-libraries

    Thanks !
    Warm regards,

  • I Created a fresh arduino workspace and copied all the libraries there.
    Then I copied the 'crowpanel-esp32-7.0-3.0-touch" folder from the new course material (lesson 4) to here.
    Ram & Partition scheme is setup as instructed.

    When I compile I get this error:

    In file included from d:/OneDrive/ESP32-ELECROW/libraries/lvgl/src/core/lv_obj.h:140,
    from d:/OneDrive/ESP32-ELECROW/libraries/lvgl/lvgl.h:35,
    from d:\OneDrive\ESP32-ELECROW\libraries\lvgl\src/lvgl.h:17,
    from D:\OneDrive\ESP32-ELECROW\7.0 v3.0 touch new code\4\crowpanel-esp32-7.0-3.0-touch\crowpanel-esp32-7.0-3.0-touch.ino:2:
    d:/OneDrive/ESP32-ELECROW/libraries/lvgl/src/core/lv_obj_style.h: In function 'void lv_obj_remove_style_all(_lv_obj_t*)':
    d:/OneDrive/ESP32-ELECROW/libraries/lvgl/src/core/lv_obj_style.h:94:48: warning: bitwise operation between different enumeration types '' and '' is deprecated [-Wdeprecated-enum-enum-conversion]
    94 | lv_obj_remove_style(obj, NULL, LV_PART_ANY | LV_STATE_ANY);
    | ~~^~~~
    D:\OneDrive\ESP32-ELECROW\7.0 v3.0 touch new code\4\crowpanel-esp32-7.0-3.0-touch\crowpanel-esp32-7.0-3.0-touch.ino: In function 'void setup()':
    D:\OneDrive\ESP32-ELECROW\7.0 v3.0 touch new code\4\crowpanel-esp32-7.0-3.0-touch\crowpanel-esp32-7.0-3.0-touch.ino:220:3: error: 'ledcSetup' was not declared in this scope
    220 | ledcSetup(1, 300, 8);
    | ^~~~~
    D:\OneDrive\ESP32-ELECROW\7.0 v3.0 touch new code\4\crowpanel-esp32-7.0-3.0-touch\crowpanel-esp32-7.0-3.0-touch.ino:221:3: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?
    221 | ledcAttachPin(TFT_BL, 1);
    | ^~~~~
    | ledcAttach
    Multiple libraries were found for "SPI.h"
    Used: D:\OneDrive\ESP32-ELECROW\libraries\SPI
    Not used: C:\Users\Dell\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.4\libraries\SPI
    Multiple libraries were found for "Wire.h"
    Used: D:\OneDrive\ESP32-ELECROW\libraries\Wire
    Not used: C:\Users\Dell\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.4\libraries\Wire
    exit status 1

    Compilation error: 'ledcSetup' was not declared in this scope

    Please help.

  • I finally managed to compile the 'draw.ino' project without errors, but the screen is blank (dark).
    Do I need to change any settings ?

  • edited November 26

    What does this error mean?
    I have rechecked the board, Ram & partition settings...all OK.

    error:
    Invalid FQBN: getting build properties for board esp32:esp32:esp32s3: invalid option 'ZigbeeMode'
    Compilation error: Invalid FQBN: getting build properties for board esp32:esp32:esp32s3: invalid option 'ZigbeeMode'

  • edited November 27

    Dear roycejp,

    Thank you for reaching out to us and for your continued support.

    We have received your messages, and our technical support team is reviewing the details. Please allow us some time to look into the matter. We will get back to you as soon as possible with an update.

    In the meantime, pls check if you have provided the following information. if not, pls send to us, so that we can fix your problems faster.

    1. pl tell us exactly which of our products you are using. We need to know the SKU No. . Or Please provide the purchase link for the product. so that we can continue to analyze the issue

    2. Also, please provide the order number, product purchase link(if applicable), along with the name of the retailer, store, platform, or website where you purchased the product?
      This allows us to work with the seller to provide you with better service.

    We apologize for any inconvenience this may cause and appreciate your patience and understanding.

    Best regards,

  • Hi,
    SKU DIS08070H
    Purchase Site:
    ROBU **dot **in.
    I am not allowed tp post any links I seems.
    How to send you a link?

  • edited November 27

    I get this error with the touch program:
    Library Wire has been declared precompiled:
    Using precompiled library in d:\OneDrive\ESP32-ELECROW\libraries\Wire\src\esp32s3
    Library lvgl has been declared precompiled:
    Precompiled library in "d:\OneDrive\ESP32-ELECROW\libraries\lvgl\src\esp32s3" not found...
    ...
    But there is 1 file 'liblvgl-3.a' in the esp32s3 folder.
    The libraries tab also says 'lvgl 8.3.3 installed' .
    d:\OneDrive\ESP32-Elecrow\is my sketches folder.
    I have copied all your supplied libraries into the libraries folder here, as you instructed.

Sign In or Register to comment.