This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WD Software_latest release
#1
When compiling the software I get the following error, could you please advise
Jim
Code:
 
Arduino: 1.8.12 (Windows 10), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"
C:\Users\barro\Documents\Arduino\WeatherDuino_4PESP8266_WD_v5.3_b001\WeatherDuino_4PESP8266_WD_v5.3_b001.ino: In function 'void loop()':
WeatherDuino_4PESP8266_WD_v5.3_b001:407:12: error: 'class TFT_eSPI' has no member named 'getTouch'
    if (tft.getTouch(&t_x, &t_y))
            ^
exit status 1
'class TFT_eSPI' has no member named 'getTouch'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
 
Reply
#2
(10-04-2020, 07:36)Barrow4491 Wrote: When compiling the software I get the following error, could you please advise
Jim
Code:
 
Arduino: 1.8.12 (Windows 10), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"
C:\Users\barro\Documents\Arduino\WeatherDuino_4PESP8266_WD_v5.3_b001\WeatherDuino_4PESP8266_WD_v5.3_b001.ino: In function 'void loop()':
WeatherDuino_4PESP8266_WD_v5.3_b001:407:12: error: 'class TFT_eSPI' has no member named 'getTouch'
    if (tft.getTouch(&t_x, &t_y))
            ^
exit status 1
'class TFT_eSPI' has no member named 'getTouch'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

My apologies all good, changed the eSPI library to eSPI-1.4.8 (had multiple libraries and used the incorrect one)
Regards
Jim
Reply




Users browsing this thread: 1 Guest(s)