Skip to main content
Skip table of contents

WaitLong: IOType = 6

WaitLong, 2 Command Bytes: 

0

IOType=6

1

Time

 

 

0 Response Bytes: 

 

 

This IOType provides a way to add a delay during execution of the Feedback function. The typical use would be putting this IOType in between IOTypes that set a digital output line high and low, thus providing a simple way to create a pulse. Note that this IOType uses the same internal timer as stream mode, so cannot be used while streaming.

  • Time: This value (0-255) is multiplied by a microsecond constant to determine the delay.
    delay constant: U3C = 16384 us, U3B = 16384 us, U3A = 32768 us, U6 = 16384 us.

Example

PY
#WaitLong Feedback command

import u3
d = u3.U3()
d.debug = True
d.getFeedback(u3.WaitLong(Time = 70))
#Sent: [0×47, 0xf8, 0×2, 0×0, 0×4c, 0×0, 0×0, 0×6, 0×46, 0×0]
#Response: [0xfa, 0xf8, 0×2, 0×0, 0×0, 0×0, 0×0, 0×0, 0×0, 0×0]
#[None]
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.