SetPinValue(System.Int32) Method

Sets the value of a digital pin that is in PWM mode.

Parameters

Name Description
pwmValueThe pulse-width modulated value for the pin.

Exceptions

System.InvalidOperationException

Occurs when the pin is not in PWM mode.

Remarks

Examples

See Also