![]() |
These calls are specific to the Phidget LED object. See your device's User Guide for more specific API details, technical information, and revision details. The User Guide, along with other resources, can be found on the product page for your device.
#define LED64_CONTROL_PACKET 0x40 |
Definition at line 105 of file cphidgetled.h.
#define LED64_CURSELA_FLAG 0x02 |
Definition at line 123 of file cphidgetled.h.
#define LED64_CURSELB_FLAG 0x04 |
Definition at line 124 of file cphidgetled.h.
#define LED64_FAULT_FLAG 0x20 |
Definition at line 127 of file cphidgetled.h.
#define LED64_IN_HIGH_PACKET 0x80 |
Definition at line 115 of file cphidgetled.h.
#define LED64_IN_LOW_PACKET 0x00 |
Definition at line 114 of file cphidgetled.h.
#define LED64_M3_CONTROL_PACKET 0x40 |
Definition at line 111 of file cphidgetled.h.
#define LED64_M3_CURRENTLIMIT 80 |
Definition at line 131 of file cphidgetled.h.
#define LED64_M3_IN_HIGH_PACKET 0x20 |
Definition at line 118 of file cphidgetled.h.
#define LED64_M3_IN_LOW_PACKET 0x00 |
Definition at line 117 of file cphidgetled.h.
#define LED64_M3_IN_MISC_PACKET 0x40 |
Definition at line 119 of file cphidgetled.h.
#define LED64_M3_OUT_HIGH_PACKET 0x20 |
Definition at line 110 of file cphidgetled.h.
#define LED64_M3_OUT_LOW_PACKET 0x00 |
Definition at line 109 of file cphidgetled.h.
#define LED64_NORMAL_PACKET 0x00 |
Definition at line 104 of file cphidgetled.h.
#define LED64_OE_FLAG 0x40 |
Definition at line 128 of file cphidgetled.h.
#define LED64_OUTHIGH_PACKET 0xc0 |
Definition at line 107 of file cphidgetled.h.
#define LED64_OUTLOW_PACKET 0x80 |
Definition at line 106 of file cphidgetled.h.
#define LED64_PGOOD_FLAG 0x01 |
Definition at line 122 of file cphidgetled.h.
#define LED64_PWRSELA_FLAG 0x08 |
Definition at line 125 of file cphidgetled.h.
#define LED64_PWRSELB_FLAG 0x10 |
Definition at line 126 of file cphidgetled.h.
#define LED_MAXLEDS 64 |
Gets the number of LEDs supported by this board.
phid | An attached phidget LED handle. |
count | The led count. Gets the current limit. This is for all ouputs. |
phid | An attached phidget LED handle. |
currentLimit | The Current Limit. Sets the current limit. This is for all ouputs. |
phid | An attached phidget LED handle. |
currentLimit | The Current Limit. Gets the output voltate. This is for all ouputs. |
phid | An attached phidget LED handle. |
voltage | The Output Voltage. Sets the output voltage. This is for all ouputs. |
phid | An attached phidget LED handle. |
voltage | The Output Voltage. Gets the brightness of an LED. |
phid | An attached phidget LED handle. |
index | The LED index. |
brightness | The LED brightness (0-100). Sets the brightness of an LED. |
phid | An attached phidget LED handle. |
index | The LED index. |
brightness | The LED brightness (0-100). Gets the current limit of an LED. |
phid | An attached phidget LED handle. |
index | The LED index. |
limit | The LED current limit (0-80 mA). Sets the current limit of an LED. |
phid | An attached phidget LED handle. |
index | The LED index. |
limit | The LED current limit (0-80 mA). |
Definition at line 101 of file cphidgetled.h.
The Phidget LED supports these current limits
Definition at line 17 of file cphidgetled.h.
enum CPhidgetLED_Voltage |
The Phidget LED supports these voltages
Definition at line 26 of file cphidgetled.h.