please have a look into the folder /Examples of the LPC54628 Build Environment - there you will find the example DeviceIntegration. This example shows how to control the onboard LED by changing the state of a checkbox.
Concerning the access of GPIOs let me refer to the examples provided by the NXP SDK.
of course, it is not exactly the same - but I thought it could be a helpful example, because the principles are the same:
Instead of using the checkbox as shown in the example, you can use a pushbutton in your application.
Instead of changing the state of the LED as shown in the example, you can change the state of a GPIO in your application.
The example is intended to demonstrate the interaction between a GUI application and the underlying hardware. See also the chapters Integrating with the device and Implementing a Device Interface.
Furthermore, the example shows also the other way: As soon as the state of a GPIO changes (= the hardbutton on the board is pressed), the GUI reflects the new state.
I hope this helps...
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!