Click or drag to resize

libspiagentspiagent_servo_put Method

Set servo position.

Namespace: IO.Bindings
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2026.331.1
Syntax
C#
public static void spiagent_servo_put(
	uint pin,
	float position,
	out int error
)

Parameters

pin  UInt32
Servo output pin number.
position  Single
Normalized servo position (-1.0 to +1.0).
error  Int32
Set to 0 upon success, or an errno error number upon failure.
See Also