USB DrDAQ Programmer's Guide
29
Copyright © 2010-2011 Pico Technology Ltd. All rights reserved.
usbdrdaqpg.en
3.5.20 UsbDrDaqSetDO
PICO_STATUS UsbDrDaqSetDO(
short
handle,
USB_DRDAQ_GPIO
IOChannel,
short
value
)
This function is used to configure the general-purpose I/Os as digital outputs.
Arguments:
handle:
or
IOChannel:
One of the following:
USB_DRDAQ_GPIO_1 = 1,
USB_DRDAQ_GPIO_2,
USB_DRDAQ_GPIO_3,
USB_DRDAQ_GPIO_4
value
: Used to set or clear the digital output. Any non-zero value
will set the output and zero will clear it.
Returns:
11
23
37
37
37
37
Summary of Contents for DrDAQ
Page 2: ......