Jump to content

using tact switches for both on/off and 'on only aslong as its held down'


lief138

Recommended Posts

Hi Folks

I know there are terms used to describe this all but I can think of them right now, im thinking momentary switch is what im thinking about.

I just want to confirm if the tact switches that people are using for the 6582 could be used in a MB64 style app where the core could control the behavior of the switch.

i.e.

In one mode pressing and releasing the button would turn on/off

and in another mode

Holding the button down would turn on but only until it is released.

I think stryd told me this is doable but I can’t remember for sure.

I’m sure this is a simpleton question.... but I just keep telling myself... no dumb questions only dumb people...

Thanks, Lief

Link to comment
Share on other sites

In one mode pressing and releasing the button would turn on/off

Latching (electronic, as opposed to physical, where the actuator stays put as well)

Holding the button down would turn on but only until it is released.

Momentary

In the case of the midibox, we use momentary switches, so if you want them latching, then you store the virtual state of the switch (on/off) in a variable, and swap it when the button is pushed in.

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...
×
×
  • Create New...