Jump to content

microbit.radio.connect

From Compy Docs

Connects to a board with the specified friendly name and returns whether the connection succeeded.

Function

Synopsis

microbit.radio.connect(string [, number])

Arguments

  • `friendlyName` — A string.
  • `timeout` — A Lua number. Optional.

Returns

A boolean value.

See Also