🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Arduino external library compiler error

User: "Jeff_wu"
Altair Community Member
Updated by Jeff_wu

I am trying to use an external Arduino library to operate an LCD. It can display correctly under the compilation of the Arduino IDE, but it fails to compile in Embed. Can you tell me how to modify it?

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Sreeram Mohan_20368"
    Altair Employee
    Accepted Answer
    Updated by Sreeram Mohan_20368

    Hi Robert, 

    Here is the core issue the Adaftuit GFX library depends on an internal class and set of methods in the Adafruit_SPITFT class. This was missing in your case in the diagram. With the inclusion of the cpp below you should now see no compile errors. Let me know if works on your end . I can only verify my compile works but do not have the board and the LCD to test. 

    --sreeram

     

     

    image