Jump to content

microbit.io.setServoPulseUs

From Compy Docs

Set Servo Pulse Us.

Function

Synopsis

microbit.io.setServoPulseUs(pin, number)

Arguments

  • `pin` — A pin value returned by an I/O or board pin function.
  • `pulseWidthUs` — A Lua number.

Returns

A boolean value.

See Also