Jump to content

microbit.io.setDigitalValue

From Compy Docs

Set Digital Value.

Function

Synopsis

microbit.io.setDigitalValue(pin, number)

Arguments

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

Returns

A boolean value.

See Also