Jump to content

microbit.io.setAnalogValue

From Compy Docs

Set Analog Value.

Function

Synopsis

microbit.io.setAnalogValue(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