SetPinValue(System.Int16) Method

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

Parameters

Name Description
servoValueThe short integer representing the angle to set the servo pin to.

Exceptions

System.InvalidOperationException

Occurs when the pin is not in servo mode.

Remarks

Examples

See Also