So far we do not have a ready to use example within the Raspberry Pi Build Environment that illustrates the integration with the underlying device. This is something that is still on our 'ToDo' List...
Nevertheless, there are two articles within our knowledge base that explains all necessary steps to make a proper device integration:
Integrating with the device
Device Class and Device Driver
In order to access the digital or analog I/O pins on a Raspberry Pi board, you can use popular GPIO interface library like WiringPi.
I hope this helps...
Dear Manfred, I try to integraed WiringPi library to my project via inline coed member but during sudo make in command rapsberry pi the system show undefined reference for function in wiringPi library. It is possible that the EmWiApplication failed to include <wiringPi.h>? If is so, how to properly include the libraly.
PS. I have included build result image.
You can use the Inline code member to add the #include directive.
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!