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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...