85 views
in Embedded Wizard Studio by

In then document

Connect the Toggle Button with a data provider
https://doc.embedded-wizard.de/toggle-button-widget?v=9.20

is explained how to connect an event of a pressed button with an action without writing a line of code.

I would like instead an example of how to intercept a pressed button and do something with the code like setting high a gpio pin or display a text on the display.

 

 
 

 

1 Answer

0 votes
by

Hello,

this GPIO use-case is shown in the example "DeviceIntegration" that you will find within your STM32 Build Environment within the subdirectory /Examples. This demo shows how to switch on/off the hardware LED when you press a button within a GUI application.

Please have a look to the chapter Device Class and Device Driver? It describes the necessary concepts.

Best regards,

Manfred.

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!

Embedded Wizard Website | Privacy Policy | Imprint

...