User manual
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