Gets / sets voltage level.
Namespace:
PhidgetsAssembly: Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34
Syntax
C# |
---|
public LED..::.LEDVoltage Voltage { get; set; } |
Visual Basic (Declaration) |
---|
Public Property Voltage As LED..::.LEDVoltage |
Visual C++ |
---|
public: property LED..::.LEDVoltage Voltage { LED..::.LEDVoltage get (); void set (LED..::.LEDVoltage value); } |
Remarks
Note that not all PhidgetLEDs support settable voltage levels.
Exceptions
Exception | Condition |
---|---|
Phidgets..::.PhidgetException | If this Phidget is not opened and attached, or if setting voltage level is unsupported. |