
Writing your own software
32
Copyright © 2010-2011 Pico Technology Ltd. All rights reserved.
usbdrdaqpg.en
3.5.23 UsbDrDaqStartPulseCount
PICO_STATUS UsbDrDaqStartPulseCount(
short
handle,
USB_DRDAQ_GPIO
IOChannel,
short
direction
)
This function is used to configure the general-purpose I/Os for pulse counting and to
start counting.
Arguments:
handle:
or
IOChannel:
GPIOs 1 and 2 can be used as pulse-counting inputs.
direction:
The direction of the edges to count (0:rising, 1:falling)
Returns:
11
23
37
37
37
37