Pulse Width

SetPulseWidth

SetPulseWidth
(
Channel
,
PulseWidth
)

Sets the pulse width for the given channel in µS.

Params
Channel
integer
required

Channel value of either 0 or 1
0 = Inner channel
1 = Outer channel

PulseWidth
integer
required

Accepted integer values: 50, 100, 150, 250, 350, 500, 750

Return Value

ReadPulseWidth

ReadPulseWidth
(
Channel
,
)

Returns the pulse width for the specified channel in µS.

Params
Channel
integer
required

Channel value of either 0 or 1
0 = Inner channel
1 = Outer channel

required
Return Value
PulseWidth
integer

Example: 250