Click or drag to resize

libspiagentspiagent_pwm_set_frequency Method

Set PWM output pulse frequency.

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

Parameters

frequency  UInt32
Pulse frequency in Hz.
error  Int32
Set to 0 upon success, or an errno error number upon failure.
Remarks
All PWM outputs share the same pulse frequency.
See Also