Skip to main content
This topic has been closed for replies.

1 reply

Erwan SZYMANSKI
Technical Moderator
January 4, 2024

Hello @Ranjeet Singh ,
You can use libgpio from userland to access GPIOs functionalities from a user application. Please check out this wiki article : https://wiki.st.com/stm32mpu/wiki/How_to_control_a_GPIO_in_userspace#GPIO_control_through_your_own_application

From GTK, you have to check the documentation of the UI framework. For buttons you have a callback function that can call whatever you want behind, and so libgpio ...

Kind regards,
Erwan.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.