Jump to content

Recommended Posts

Posted

 

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.

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...