logo elektroda
logo elektroda
X
logo elektroda

[Solved] Error Compiling ready Sketch on ESP8266 in Arduino IDE

szaryczlowiek831 594 4
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19792783
    szaryczlowiek831
    Level 4  
    Hello.
    I found a weather station on YouTube. In the caption under the video is the address to the source code which you open in the Arduino IDE, type/change in 3 lines of data and it works.
    Me as a green chive in spring. -Let's try
    Yesterday the ordered components arrived, so believing in my strengths I squatted down, downloaded, installed and after spending a total of 7h I managed to figure out which libraries I was missing. But when compiling it gives me an error.
    Code: Text
    Log in, to see the code
    .

    I have a Nodemcu CH340G V3 board and a MSP 2401 or MSP 2042 shield.
    According to LcdWiki, the driver that is given in the code should fit.
    But it gives an error. Maybe I am using the wrong library?
    I would appreciate any help/advice as to what is wrong.
  • ADVERTISEMENT
  • #2 19793176
    ex-or
    Level 28  
    szaryczlowiek831 wrote:
    Found multiple libraries in "XPT2046_Touchscreen.h "Used:
    To start with, do a tidy up of the libraries. Check which of these libraries is used in the project and remove the others. It is possible that it is another library, in which case this one needs to be installed and the others removed.
    The same applies to the SPI and ESPWifi libraries.
  • ADVERTISEMENT
  • #3 19793698
    szaryczlowiek831
    Level 4  
    ex-or wrote:
    szaryczlowiek831 wrote:
    Found multiple libraries in "XPT2046_Touchscreen.h "Used: C:C:UsersDocumentsArduinolibraries_ThingPulse_XPT2046_Touch
    .
    To start with, do a tidy up of the libraries. Check which of these libraries is used in the project and remove the others. It is possible that it is another library, in which case this one needs to be installed and the others removed.
    The same applies to the SPI and ESPWifi libraries.
    .

    Unfortunately deleting the duplicate libraries did not help.
    Code: Text
    Log in, to see the code
    .


    I still get the same error.
  • ADVERTISEMENT
  • Helpful post
    #4 19796118
    gps79
    Level 36  
    At the end of the this file is something missing from your settings.h and therefore the compiler throws errors.
  • #5 20030823
    szaryczlowiek831
    Level 4  
    Thanks to help on another forum, it turned out that the screen works under a different library.
ADVERTISEMENT