User manual
Table Of Contents
- Introduction
- Getting started
- Writing your own software
- About the driver
- Installing the driver
- Connecting the logger
- Capture modes
- USB DrDAQ Routines
- Summary
- UsbDrDaqOpenUnit
- UsbDrDaqCloseUnit
- UsbDrDaqGetUnitInfo
- UsbDrDaqRun
- UsbDrDaqReady
- UsbDrDaqStop
- UsbDrDaqSetInterval
- UsbDrDaqSetTrigger
- UsbDrDaqGetValues
- UsbDrDaqGetTriggerTimeOffsetNs
- UsbDrDaqGetSingle
- UsbDrDaqOpenUnitAsync
- UsbDrDaqOpenUnitProgress
- UsbDrDaqGetScalings
- UsbDrDaqSetScalings
- UsbDrDaqSetSigGenBuiltIn
- UsbDrDaqSetSigGenArbitrary
- UsbDrDaqStopSigGen
- UsbDrDaqSetDO
- UsbDrDaqSetPWM
- UsbDrDaqGetInput
- UsbDrDaqStartPulseCount
- UsbDrDaqGetPulseCount
- UsbDrDaqEnableRGBLED
- UsbDrDaqSetRGBLED
- UsbDrDaqGetChannelInfo
- PICO_STATUS values
- Programming support
- Glossary

USB DrDAQ Programmer's Guide 35
Copyright © 2010-2011 Pico Technology Ltd. All rights reserved. usbdrdaqpg.en
3.5.26
UsbDrDaqSetRGBLED
PICO_STATUS UsbDrDaqSetRGBLED(
short handle,
unsigned short red,
unsigned short green,
unsigned short blue
)
This function is used to set the colour of the LED once RGB mode has been enabled
using USBDRDaqEnableRGBLED .
Arguments:
handle: handle returned from UsbDrDaqOpenUnit or
UsbDrDaqOpenUnitProgress
red, green, blue: Components of the requred LED colour, in the
range 0 to 255.
Returns:
PICO_OK
PICO_NOT_FOUND
PICO_NOT_RESPONDING
34
11
23
37
37
37