Jump to content

Recommended Posts

Posted

I'm about to begin a MIOS based footpedal project.  Being a foot controller I need to get robust switches.  I've found a source of switches but they are latching switches.  Is it still possible to use these switches, and have the core module treat the switch as a momentary switch through software.  So that when it goes from open to close, MIOS switches the function, then when close to open, it repeates the same funtion?

Posted

Yes, this can be handled by software - it means that the program has to react on each transition, and not only on a 1->0 signal change.

In other words: each time the USER_DIN_NotifyToggle function is called, you know that the switch has been moved, with a latching switch you don't need to filter out 0->1 transitions

Best Regards, Thorsten.

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...