Jump to content

Latching Switches on DIN?


msi
 Share

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
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.

Loading...
 Share

×
×
  • Create New...