Menu

PulseIn PulseOut

Help
Marcoos
2014-05-13
2014-07-08
  • Marcoos

    Marcoos - 2014-05-13

    hello
    there is a piece of the world that uses the signals in reverse, it is possible in the near future to use the commands PulseIn, and PULSEOUT low?
    Thanks, Marco

     
  • Anobium

    Anobium - 2014-05-13

    There is pulseoutinv. See the help file.

    You need pulseininv?

     
  • Marcoos

    Marcoos - 2014-05-13

    Yes, sorry I have been read only the PulseIn help....

     
  • William Roth

    William Roth - 2014-07-08

    PulseOut could be made to automatically send a low pulse if the data line is already high, or send a high pulse if the data line is already low. There would then be no need for pulsoutinv.

    Example:

    macro SendPulse (Pin, Time)
        if pin off then
            set pin on
            wait time
            set pin off
        else
            set pin off
            wait time
            Set Pin on
            end if
    end macro
    
     

    Last edit: William Roth 2014-07-11

Log in to post a comment.