Jump to content
mdma357

Hardware button. Please help!

Recommended Posts

 

Hello! I ran into the problem of connecting a hardware button to a GPIO, somebody could not provide at least a minimal example of how to tie a button to a button in the graphical interface. Perhaps someone had a project with hardware buttons. 

The API does not provide an exhaustive answer about this.

Share this post


Link to post
Share on other sites

What you want is the Toggle driver of GINPUT. It allows to attach hardware buttons to µGFX applications.

There's a working example for some Atmel SAM platform. You might want to use the forum search on "toggle" to find more information.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...