Справочник Пользователя для Pico DrDAQ® USB data logger, oscilloscope attachment, data logger, signal generator PP706 PP706

Модели
PP706
Скачать
Страница из 50
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: 
handle returned from 
 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