Gets / sets voltage level.

Namespace:  Phidgets
Assembly:  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

ExceptionCondition
Phidgets..::.PhidgetExceptionIf this Phidget is not opened and attached, or if setting voltage level is unsupported.

See Also