Jump to content

Button behaviours


mikee
 Share

Recommended Posts

Hi all

I read somewhere in this forum that @ononly behaviour is "like a one-shot", does this mean that when pressed it turns off by itself after a certain time?

If a led (via dinout) is used to indicate the state of the button, would it also turn off after a certain time?

I fully understand @onoff and @toggle behaviours but @ononly????

Also: If a latched switch is used rather than a momentary switch, so that once pressed that Dinx4 input in held at logic 0, does the software consider it to be pressed only one time, or does it consider it is a new press on each serial scan?  In other words what is the end effect of keeping a finger on a button?

Hope this makes sense folks

Regards.

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