Jump to content

Recommended Posts

  • MVP 2023

There is a bit of a problem here, because the output may not be activated, and the user simply pressed and released the alarm button and everything accidentally started. Therefore, using the state machine known on the local forum, I simply turn off the required outputs with an alarm bit and when the danger has passed - everything returns to the state as before the alarm. That is, an unactivated bit is not accidentally activated

Link to comment
Share on other sites

  • MVP 2023
4 hours ago, kratmel said:

There is a bit of a problem here, because the output may not be activated, and the user simply pressed and released the alarm button and everything accidentally started. Therefore, using the state machine known on the local forum, I simply turn off the required outputs with an alarm bit and when the danger has passed - everything returns to the state as before the alarm. That is, an unactivated bit is not accidentally activated

kratmel is absolutely correct. As I mentioned, we really need to see your project to understand what you're trying to do. The simplest method that solves kratmel's concern is the following:

image.png.0afe0355cd59f0bc78706be57e60e0e6.png

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.
Note: Your post will require moderator approval before it will be visible.

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.

×
×
  • Create New...