Announcement

Collapse
No announcement yet.

email output question

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • email output question

    I have MDX set to send an email when a certain input turns on.

    It continues to send emails the entire time the input is on.

    How do i make it only send one email, each time an input is turned on?

    Thanks

  • #2
    Originally posted by faron View Post
    I have MDX set to send an email when a certain input turns on.

    It continues to send emails the entire time the input is on.

    How do i make it only send one email, each time an input is turned on?

    Thanks
    When the trigger happens, it switches a variable from 0 to 1. Then have your email send email only when the variable is 1. In that same loop, put the variable back to 0.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

    Comment


    • #3
      do you have an example of this?

      Comment


      • #4
        Can someone show me an example of this code? I cant seem to make it work

        Comment


        • #5
          2k?????

          Comment


          • #6
            Use this as a base: http://www.fusioncontrolcentre.com/T...ionOneShot.xml
            Fusion Brain Version 6 Released!
            1.9in x 2.9in -- 47mm x 73mm
            30 Digital Outputs -- Directly drive a relay
            15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
            Buy now in the MP3Car.com Store

            Comment


            • #7
              Iused that file as a base, and even though the variable gets changed to 2, it continues to send emails. This seems odd since the send email logic says to only email when variable equals 1.

              I am really trying to get this thing figured out please help me out here

              Comment

              Working...
              X