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

Модели
PP706
Скачать
Страница из 50
USB DrDAQ Programmer's Guide
31
Copyright © 2010-2011 Pico Technology Ltd. All rights reserved.
usbdrdaqpg.en
3.5.22 UsbDrDaqGetInput
PICO_STATUS UsbDrDaqGetInput(
short
  handle,
USB_DRDAQ_GPIO
  IOChannel,
short
  pullUp,
short
* value
)
This function is used to configure the general-purpose I/Os as digital inputs.
Arguments:
handle: 
handle returned from 
 or
IOChannel: 
All GPIOs can be used for digital inputs.
pullUp: 
Used to specify whether pull-up resistor is used
.
value: 
A location where the driver writes a value indicating the
state of the input (0 or 1)
Returns:
11
23
37
37
37
37