The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
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?
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
Hi Robert ,
Could you please provide details on the library in this case that you are trying to use and the version. I see there are different versions of the adafruit library and it is not clear to me.
Also could you please add the compile error log and post it ?
Hi Robert , Could you please provide details on the library in this case that you are trying to use and the version. I see there are different versions of the adafruit library and it is not clear to me. Also could you please add the compile error log and post it ? --sreeram
Library:
Thank you!
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
Hi Sreeram,
The program is running properly and the LCD is displaying correctly. Thank you very much.
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…