> For the complete documentation index, see [llms.txt](https://doc.open-tx.org/opentx-2-3-lua-reference-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.open-tx.org/opentx-2-3-lua-reference-guide/part_iii_-_opentx_lua_api_reference/model-functions-less-than-greater-than-luadoc-begin-model/setmodule.md).

# model.setModule(index, value)

Set RF module parameters

@status current Introduced in 2.2.0, modified in 2.3.12 (proto/subproto)

## Parameters

* `index` (number) module index (0 for internal, 1 for external)
* `value` module parameters, see model.getModule()

## Return value

none

### Notice

If a parameter is missing from the value, then that parameter remains unchanged.
