slave_mode


Description

Specifies the Slave mode status.

Syntax

Boolean slave_mode

Read

Gets current Slave mode status.

Example

bool slaveModeStatus;
slaveModeStatus = dsm.slave_mode;

Write

Sets new Slave mode status.

Example

dsm.slave_mode = false;

Notes

If you intend to be in Master or Slave mode, please remember to set the loop count with the loop_count property.

This property is also used to arm the Slave mode board. To arm the board, simply set the property to "true":

dsm.slave_mode = true;