Seeed round display error on touch from file from SquarelineStudio, I can not find where “getTouch” shall be, is there any one that can help me. this was the message I got from AndruiniIDE when compiling.
C:\Scetch LVGL\SK10\SquareLine_Project\ui\ui.ino: In function ‘void my_touchpad_read(lv_indev_drv_t*, lv_indev_data_t*)’:
C:\Scetch LVGL\SK10\SquareLine_Project\ui\ui.ino:44:24: error: ‘class TFT_eSPI’ has no member named ‘getTouch’; did you mean ‘getColor’?
bool touched = tft.getTouch( &touchX, &touchY, 600 );
^~~~~~~~
getColor
exit status 1
Compilation error: ‘class TFT_eSPI’ has no member named ‘getTouch’; did you mean ‘getColor’?
Hi, thanks for your soon reply. The lib version from Squareline is LVGL 8.3.6 and it is the same on Andruino IDE, but this is not the latest version that is 8.3.11. Is this correct understanding from your answere, thanks again.
Hi there, Here is the output from the Xiao Nrf52840, looks like the one that worked was 8.3.7
Using library Seeed Arduino LSM6DS3 at version 2.0.3 in folder: C:\Users\Value Pawn\Documents\Arduino\libraries\Seeed_Arduino_LSM6DS3
Using library Wire at version 1.0 in folder: C:\Users\Value Pawn\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.1\libraries\Wire
Using library lvgl at version 8.3.7 in folder: C:\Users\Value Pawn\Documents\Arduino\libraries\lvgl
Using library Seeed Arduino Round display at version 1.0.0 in folder: C:\Users\Value Pawn\Documents\Arduino\libraries\Seeed_Arduino_Round_display
Using library SPI at version 1.0 in folder: C:\Users\Value Pawn\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.1\libraries\SPI
Using library TFT_eSPI at version 2.5.23 in folder: C:\Users\Value Pawn\Documents\Arduino\libraries\TFT_eSPI
Using library SD at version 1.2.4 in folder: C:\Users\Value Pawn\AppData\Local\Arduino15\libraries\SD
Using library I2C BM8563 RTC at version 1.0.4 in folder: C:\Users\Value Pawn\Documents\Arduino\libraries\I2C_BM8563_RTC
Using library Adafruit TinyUSB Library at version 1.7.0 in folder: C:\Users\Value Pawn\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.1\libraries\Adafruit_TinyUSB_Arduino
"C:\\Users\\Value Pawn\\AppData\\Local\\Arduino15\\packages\\Seeeduino\\tools\\arm-none-eabi-gcc\\9-2019q4/bin/arm-none-eabi-size" -A "C:\\Users\\Value Pawn\\AppData\\Local\\Temp\\arduino\\sketches\\6DC0D7935EF980F89A0D4B23A1B8BA04/HardwareTest.ino.elf"
Sketch uses 290236 bytes (35%) of program storage space. Maximum is 811008 bytes.
Global variables use 63932 bytes (26%) of dynamic memory, leaving 173636 bytes for local variables. Maximum is 237568 bytes.
Performing 1200-bps touch reset on serial port COM11
Waiting for upload port...
Upload port found on COM10
"C:\Users\Value Pawn\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.1/tools/adafruit-nrfutil/win32/adafruit-nrfutil.exe" --verbose dfu serial -pkg "C:\Users\Value Pawn\AppData\Local\Temp\arduino\sketches\6DC0D7935EF980F89A0D4B23A1B8BA04/HardwareTest.ino.zip" -p COM10 -b 115200 --singlebank
Upgrading target on COM10 with DFU package C:\Users\Value Pawn\AppData\Local\Temp\arduino\sketches\6DC0D7935EF980F89A0D4B23A1B8BA04\HardwareTest.ino.zip. Flow control is disabled, Single bank, Touch disabled
Opened serial port COM10
Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, application size: 290244
Sending DFU start packet
Sending DFU init packet
Sending firmware file
Please use the stable versions of the TFT and LVGL libraries provided at this link in place of the libraries you have currently downloaded. This will solve your problem