Changes between Version 2 and Version 3 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/IO/StartDIOPulse


Ignore:
Timestamp:
12/27/11 09:55:53 (12 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/IO/StartDIOPulse

    v2 v3  
    1414 * bd - number of digital output card (main board output is not supported for pulse)
    1515 * output - output number (outputs 1 - 4) only are supported
    16  * cond - true = start with output on, false = start with output off
     16 * cond - DIO_PULSE_HIGH = start with output on, DIO_PULSE_LOW = start with output off
    1717 * count - count of pulses to output, 0 = continuous until StopDIOPulse
    1818 * pulseWidth = size of the cycle in seconds
     
    3030
    3131{{{
    32 if(StartDIOPulse(1, 1, true, 10, 2.0, 0.5) == OK)
     32if(StartDIOPulse(1, 1, DIO_PULSE_HIGH, 10, 2.0, 0.5) == OK)
    3333    DisplayText(0, 0, "10 pulses 1 sec on 1 sec off");
    3434}}}